Moire Reveal

A large figure resolves out of a rotating moire line pattern and locks sharp, with a small pill caption. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/moire-reveal

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { MoireReveal } from "@/components/remocn/moire-reveal";
 
const MoireRevealScene = () => (
  <MoireReveal value="10×" caption="faster first frame on remocn render" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="MoireReveal"
    component={MoireRevealScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

A field of fine lines turns and drifts until it locks into the figure, then a small pill caption fades in beneath. Pass value and caption, or set shape to mark to reveal the Remocn mark instead of text; it ships light and dark through theme.

Props14

PropTypeDefault
value
string"10×"

Figure that the line pattern resolves into.

shape
"text" | "mark""text"

Reveal the value as text or as the Remocn mark.

caption
string"faster first frame on remocn render"

Small pill caption that fades in under the figure.

accent
string"#3B5BFD"

Accent color for highlights and small marks.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Geist"

Typeface for the copy. Load the font in your project first.

lineSpacing
number7

Distance between the lines, in pixels at 720p; tighter lines give a finer moire.

angle
number11

Degrees the inner grid starts turned before it swings into line.

grain
booleantrue

Film grain over the scene.

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.

theme
"dark" | "light""dark"

Color theme, "dark" or "light".

speed
number1

Playback speed multiplier for the whole timeline.

  • valuestring

    Figure that the line pattern resolves into.

    Default"10×"

  • shape"text" | "mark"

    Reveal the value as text or as the Remocn mark.

    Default"text"

  • captionstring

    Small pill caption that fades in under the figure.

    Default"faster first frame on remocn render"

  • accentstring

    Accent color for highlights and small marks.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Geist"

  • lineSpacingnumber

    Distance between the lines, in pixels at 720p; tighter lines give a finer moire.

    Default7

  • anglenumber

    Degrees the inner grid starts turned before it swings into line.

    Default11

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • 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

  • theme"dark" | "light"

    Color theme, "dark" or "light".

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1