Pattern Tile

A single quarter-disc tile is rotated, mirrored and translated into a wall of 72 tiles. A free, MIT-licensed Remotion motion graphic.

Installation
$ pnpm dlx shadcn@latest add @remocn/pattern-tile

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { PatternTile } from "@/components/remocn/pattern-tile";
 
const PatternTileScene = () => (
  <PatternTile steps={["tile", "rotate 90°", "mirror", "translate"]} unit="tiles" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="PatternTile"
    component={PatternTileScene}
    durationInFrames={360}
    fps={60}
    width={1280}
    height={720}
  />
);

One quarter-disc tile appears, rotates into a rosette, mirrors across an axis and slides out into a full wall while a four-step label highlights the current operation. A counter ends on the total tile count with an accent marker. Pass steps (four labels) and unit. Ships dark and light via theme.

Props13

PropTypeDefault
steps
[string, string, string, string]—

Four step labels shown in order under the grid.

unit
string"tiles"

Noun shown after the tile counter.

zoom
number2.8

How close the camera starts on the first tile; 1 frames the whole wall.

highlight
booleantrue

Dim the wall at the end so the first tile stands out.

accent
string"#3B5BFD"

Color of the counter marker and highlights.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Schibsted Grotesk"

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

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.

theme
"dark" | "light""dark"

Color scheme. Ships dark and light.

speed
number1

Playback speed multiplier for the whole timeline.

  • steps[string, string, string, string]

    Four step labels shown in order under the grid.

  • unitstring

    Noun shown after the tile counter.

    Default"tiles"

  • zoomnumber

    How close the camera starts on the first tile; 1 frames the whole wall.

    Default2.8

  • highlightboolean

    Dim the wall at the end so the first tile stands out.

    Defaulttrue

  • accentstring

    Color of the counter marker and highlights.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

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

    Default"Schibsted Grotesk"

  • 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

  • theme"dark" | "light"

    Color scheme. Ships dark and light.

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1