Squircle Wave

A wave of squircle cells sweeps across a dot grid and leaves the R mark behind. A free, MIT-licensed Remotion logo animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/squircle-wave

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SquircleWave } from "@/components/remocn/squircle-wave";
 
const SquircleWaveScene = () => (
  <SquircleWave
    accent="#3B5BFD"
    theme="dark"
    speed={1}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="SquircleWave"
    component={SquircleWaveScene}
    durationInFrames={240}
    fps={60}
    width={1280}
    height={720}
  />
);

A dot grid fades up, then a diagonal wave of squircle cells sweeps across it and the cells inside the R mark lock in solid as the crest passes, leaving only the mark. There is no text prop and the mark is the baked-in Remocn R. Pass accent for the wake colour. Ships light and dark.

Props9

PropTypeDefault
accent
string"#3B5BFD"

Colour of the wave's leading edge behind the crest.

sweep
number70

Frames for the wave to cross the frame.

angle
number16

Tilt of the wave front in degrees.

background
string—

Background fill; pass "transparent" to drop it.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

grain
booleantrue

Film grain over the scene.

speed
number1

Playback multiplier for the whole timeline; 1 is normal speed.

theme
"dark" | "light""dark"

Dark or light palette and ground.

  • accentstring

    Colour of the wave's leading edge behind the crest.

    Default"#3B5BFD"

  • sweepnumber

    Frames for the wave to cross the frame.

    Default70

  • anglenumber

    Tilt of the wave front in degrees.

    Default16

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • speednumber

    Playback multiplier for the whole timeline; 1 is normal speed.

    Default1

  • theme"dark" | "light"

    Dark or light palette and ground.

    Default"dark"