Lagoon

Mesh Gradient preset. Bright aqua and teal shallows with a deep-blue undertow

Installation
$ pnpm dlx shadcn@latest add @remocn/shader-mesh-gradient-lagoon

Installs Mesh Gradient 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

// src/Root.tsx
import { Composition } from "remotion";
import { ShaderMeshGradientLagoon } from "@/components/remocn/shader-mesh-gradient-lagoon";
 
export const RemotionRoot = () => (
  <Composition
    id="ShaderMeshGradientLagoon"
    component={ShaderMeshGradientLagoon}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);

ShaderMeshGradientLagoon takes the same props as ShaderMeshGradient. 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.