Quadtree Mark

The R mark is built from subdividing pixel squares that refine into a sharp logo, then the name appears. A free, MIT-licensed Remotion logo animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/quadtree-mark

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { QuadtreeMark } from "@/components/remocn/quadtree-mark";
 
const QuadtreeMarkScene = () => (
  <QuadtreeMark
    name="emocn"
    accent="#3B5BFD"
    theme="dark"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="QuadtreeMark"
    component={QuadtreeMarkScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

Coarse pixel squares subdivide step by step around the R mark until the edges are sharp, the camera pans, and the name appears beside the mark. Pass logo as an SVG path (or several) to subdivide your own mark and name for the text after it. Ships light and dark.

Props12

PropTypeDefault
logo
string | string[]—

SVG path or paths of the mark to subdivide; defaults to the R.

name
string"emocn"

Text set after the mark; emocn reads as the logo.

accent
string"#3B5BFD"

Accent colour for the mark and highlights; any CSS colour.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

stagger
number2.5

Frames between the name's letters as they slide in.

depth
number6

Levels of subdivision, 3 to 6; the grid is 2^depth cells across.

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"

Dark or light palette and ground.

speed
number1

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

  • logostring | string[]

    SVG path or paths of the mark to subdivide; defaults to the R.

  • namestring

    Text set after the mark; emocn reads as the logo.

    Default"emocn"

  • accentstring

    Accent colour for the mark and highlights; any CSS colour.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • staggernumber

    Frames between the name's letters as they slide in.

    Default2.5

  • depthnumber

    Levels of subdivision, 3 to 6; the grid is 2^depth cells across.

    Default6

  • 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"

    Dark or light palette and ground.

    Default"dark"

  • speednumber

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

    Default1