Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

1.7 KB
Raw Blame
---
title: Ocean
description: Warp preset. Glossy aqua currents traced with dark ink edges
component: shader-warp-ocean
vibe: tech
length: 150
useWhen:
  - "A glossy, high-contrast fluid scene with crisp dark edges."
  - "The frame is light, so dark foreground text and UI stay readable on top."
  - "You want a finished Warp look without tuning the palette and parameters yourself."
avoidWhen:
  - "The video must use your brand colors — start from `shader-warp` and set `colors`."
  - "You want a darker, contrasting mood from the same shader — use `shader-warp-cream`."
askedAs:
  - "glossy aqua background"
  - "ink outlined water currents"
  - "I want glossy aqua currents traced with dark ink edges"
  - "high contrast fluid scene with crisp lines"
  - "cartoonish water flow backdrop"
  - "aqua ink swirl"
---

<ComponentPreview name="shader-warp-ocean" />

<InstallBlock name="shader-warp-ocean" />

Installs [Warp](/docs/shaders/components/shader-warp) as a dependency. This file only fixes its look: the preset object at the top holds every value, so edit it in place to make the preset your own.

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderWarpOcean } from "@/components/remocn/shader-warp-ocean";

export const RemotionRoot = () => (
  <Composition
    id="ShaderWarpOcean"
    component={ShaderWarpOcean}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

ShaderWarpOcean takes the same props as `ShaderWarp`. Props you pass override the preset, except `speed`, which scales the preset's own pace: `speed={2}` is twice as fast as the preset, whatever its base speed.

## Credits

Shader by [paper-design/shaders](https://github.com/paper-design/shaders).