Cell Divide
A grid of dots doubles by cell division up to a count of 64. A free, MIT-licensed Remotion number animation.
$ pnpm dlx shadcn@latest add @remocn/cell-divideUsage
// src/Root.tsx
import { Composition } from "remotion";
import { CellDivide } from "@/components/remocn/cell-divide";
const CellDivideScene = () => <CellDivide generations={6} label="×2 every week" />;
export const RemotionRoot = () => (
<Composition
id="CellDivide"
component={CellDivideScene}
durationInFrames={330}
fps={60}
width={1280}
height={720}
/>
);A single dot divides in two, then four, then eight, each division morphing like a cell and the grid of dots growing smaller as it fills, with the count rolling beside it. After the last division the cells pulse in a wave and a caption with an accent dot sits under the number. Pass generations from 2 to 7 and label. The length shown is for the default of 6 generations. It ships light and dark through the theme prop.
Props13
| Prop | Type | Default |
|---|---|---|
| generations | number6 Number of divisions, 2 to 7. The final count is 2 to that power. | |
| label | string"×2 every week" Caption under the number. | |
| pause | number4 Frames of rest between one division and the next. | |
| accent | string"#3B5BFD" Colour of the dot before the caption. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Sora" Typeface for the copy. Load the font in your project first. | |
| fontWeight | number300 Weight of the count. | |
| grain | booleantrue Film grain over the scene. | |
| theme | "dark" | "light""dark" Ships light and dark. | |
| 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. | |
| speed | number1 Playback speed multiplier; 1 is the designed pace. | |
- generationsnumber
Number of divisions, 2 to 7. The final count is 2 to that power.
Default
6 - labelstring
Caption under the number.
Default
"×2 every week" - pausenumber
Frames of rest between one division and the next.
Default
4 - accentstring
Colour of the dot before the caption.
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
"Sora" - fontWeightnumber
Weight of the count.
Default
300 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Ships light and dark.
Default
"dark" - 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 - speednumber
Playback speed multiplier; 1 is the designed pace.
Default
1