Res Climb
A number resolves from coarse blocks through sharper resolutions into a crisp glowing figure with a caption. A free, MIT-licensed Remotion number animation.
In Remotion, Res Climb shows pixels sharpening into a number: the figure starts as coarse pixel blocks, snaps through higher resolutions and lands as a crisp glowing figure with a caption.
$ pnpm dlx shadcn@latest add @remocn/res-climbHow to sharpen a pixelated number into a crisp figure in Remotion
A number that starts as coarse pixel blocks and sharpens through higher resolutions into a crisp glowing figure is one component. You don't need @remotion/effects pixelate, HtmlInCanvas, a progressive-pixelate pass or a text-shadow glow by hand. Install it and pass the value:
npx shadcn@latest add @remocn/res-climbvalueis a string, such as"200+"; it does not count up.labelis the caption below andeyebrowthe small line above.stepssets the grid resolutions it snaps through (default[7, 14, 28]),snapAtwhen the first snap happens andbuildhow long the first grid builds in.- The last snap lands the figure crisp in a blue gradient on a dark ground;
accentrecolors it.
For a figure painted tile by tile under a scan line use Raster Paint; for one that resolves out of lines use Moire Reveal.
Good to know
- Length: 70 frames of motion at 30 fps (140 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition with a hold, so itsdurationInFrames(230) is longer than twice the motion. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project; nothing else is needed at runtime. - Font: loads Onest itself through
@remotion/google-fonts, so the default needs no setup. PassfontFamilyto use your own face, and load that font in your project.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { ResClimb } from "@/components/remocn/res-climb";
const ResClimbScene = () => <ResClimb value="200+" eyebrow="Component registry" label="components, ready to drop in" />;
export const RemotionRoot = () => (
<Composition
id="ResClimb"
component={ResClimbScene}
durationInFrames={230}
fps={60}
width={1280}
height={720}
/>
);A big number first appears as a coarse block grid, then re-renders through a few sharper resolutions in quick snaps until it lands crisp in a blue gradient. A small eyebrow sits above and a caption fades in below. Pass value as a string such as "200+", plus label and eyebrow; steps sets the grid resolutions. It ships light and dark through theme.
Props15
| Prop | Type | Default |
|---|---|---|
| value | string"200+" The figure to resolve, as a string such as 200+. | |
| label | string"components, ready to drop in" Caption under the figure. | |
| eyebrow | string"remocn registry" Small line above the figure. | |
| steps | number[][7, 14, 28] Pixel-grid rows per cap height for each coarse stage; up to 4. | |
| snapAt | number28 Frame of the first sharpening step. | |
| build | number12 Frames for the coarsest grid to fill in, left to right. | |
| accent | string"#3B5BFD" Main color of the figure gradient. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage background color; overrides the theme ground. | |
| fontFamily | string"Onest" Typeface for the copy. The default loads itself; load any other 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. | |
| speed | number1 Playback speed multiplier. | |
| theme | "dark" | "light""dark" Light or dark palette. | |
- valuestring
The figure to resolve, as a string such as 200+.
Default
"200+" - labelstring
Caption under the figure.
Default
"components, ready to drop in" - eyebrowstring
Small line above the figure.
Default
"remocn registry" - stepsnumber[]
Pixel-grid rows per cap height for each coarse stage; up to 4.
Default
[7, 14, 28] - snapAtnumber
Frame of the first sharpening step.
Default
28 - buildnumber
Frames for the coarsest grid to fill in, left to right.
Default
12 - accentstring
Main color of the figure gradient.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage background color; overrides the theme ground.
- fontFamilystring
Typeface for the copy. The default loads itself; load any other font in your project first.
Default
"Onest" - 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 - speednumber
Playback speed multiplier.
Default
1 - theme"dark" | "light"
Light or dark palette.
Default
"dark"