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.
To do a Remotion logo reveal for an image codec or graphics product where big pixel squares keep subdividing until they sharpen into the mark, then the name fades in, use Quadtree Mark. The mark starts as one cell, splits level by level into a quadtree of its shape, resolves into the lit mark, and the name slides in letter by letter beside it.
$ pnpm dlx shadcn@latest add @remocn/quadtree-markHow to build this in Remotion
You don't need a canvas with getImageData(), delayRender() per frame or getTextToPath(). Install the component and pass your mark as SVG path data:
npx shadcn@latest add @remocn/quadtree-markThe component rasterizes the path you pass into a grid of 2^depth cells and draws the cells as SVG, so it works for any closed path, not only the R.
Good to know
- Length: 98 frames of motion at 30 fps with the default name and
depth={6}(196 at 60 fps). The Usage example hands Remotion 260 at 60 fps, which adds a hold. See Frame rate. - Installs:
remotion,@remotion/google-fontsand@remotion/pathsfrom npm, plus the remocn helpersglide,frame-rateandtimeline. Manrope is loaded by the component. - The default mark is the Remocn R, and the default
nameis "emocn" because that R stands in for the first letter of "remocn". For your brand, pass your mark aslogo(one SVG path string or several; any coordinate space, the component fits it) and your full product name asname. - Phase timing: besides
speed, thetimingprop moves or stretches each phase by the idsguides,appear,split:<d>,glow,pan,letter:<i>andmerge, in 30 fps frames.
Usage
// 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.
Timing
In 30 fps frames, at speed={1} and depth={6}, with a five-letter name:
| Frames | Motion |
|---|---|
| 0–14 | The mark appears as one cell inside corner guides |
| 10–56 | The cells split level by level: 14, 9, 7, 6, 5 and 5 frames per level |
| 24–80 | The mark glows as it sharpens |
| 64–94 | The camera pans to make room for the name |
| 74–98 | The name's letters slide in, stagger (2.5) frames apart |
| 82–98 | The cells merge into the finished mark |
Props13
| Prop | Type | Default |
|---|---|---|
| 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. | |
| timing | Timing<"guides" | "appear" | `split:${number}` | "glow" | "pan" | `letter:${number}` | "merge">— Per-phase overrides: { start, length, stretch } by element id, in 30 fps frames. | |
- 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.
Default
2.5 - depthnumber
Levels of subdivision, 3 to 6; the grid is 2^depth cells across.
Default
6 - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Dark or light palette and ground.
Default
"dark" - speednumber
Playback multiplier for the whole timeline; 1 is normal speed.
Default
1 - timingTiming<"guides" | "appear" | `split:${number}` | "glow" | "pan" | `letter:${number}` | "merge">
Per-phase overrides: { start, length, stretch } by element id, in 30 fps frames.