Dot Type

Dot-matrix word sequence for Remotion: words like Think, Make, Ship are drawn from a field of round dots that fly from word to word, last word in a gradient.

In Remotion, Dot Type draws words like Think, Make, Ship out of round dots: a dot field collapses into the first word, then the same dots fly apart and reform into each next word, quickly, and the last word takes a gradient accent. Use it for a fast sequence of single words in a launch or brand video.

Installation
$ pnpm dlx shadcn@latest add @remocn/dot-type

How to build this in Remotion

You don't need to wire up canvas getImageData sampling and Series by hand. Install the component and pass your words:

bash
npx shadcn@latest add @remocn/dot-type

Each word is rendered once to an offscreen canvas and sampled with getImageData into dot targets; the dots are drawn as SVG paths and moved with Easing curves on a schedule from timeline.ts. Sampling happens before the first frame, held with delayRender.

Good to know

  • Length: 158 frames of motion at 30 fps (316 at 60 fps) with the default props. That is the minimum for its Sequence; add your own hold on top (the demo plays 190 frames). The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • Timing: the field drifts for 14 frames, the first word forms over 32, and each next word takes 34 plus hold. Length = 46 + (words − 1) × (34 + hold) at 30 fps; with three words and hold={22} that is 158.
  • Gradient: the last word runs from accent through #2b3dd8, #ff6a3d and #ffd9a8 (dark theme). Only accent is a prop; accentLast={false} keeps the last word plain.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Sora itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { DotType } from "@/components/remocn/dot-type";
 
const DotTypeScene = () => (
  <DotType words={["Think.", "Make.", "Ship."]} count={1500} accent="#3B5BFD" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="DotType"
    component={DotTypeScene}
    durationInFrames={380}
    fps={60}
    width={1280}
    height={720}
  />
);

A dot field collapses into the first word, then each next word reforms from the same dots in turn; the final word can take the accent color. Pass words and tune count for dot density; it ships light and dark through theme.

Props14

PropTypeDefault
words
string[]DEFAULT_WORDS

Words shown in order, each formed from the dots

accentLast
booleantrue

Color the final word with the accent

count
number1500

Number of dots in the field; minimum 300

accent
string"#3B5BFD"

Accent color (any valid CSS color)

ink
string—

Color of the dots; overrides the theme ink.

background
string—

Solid fill in place of the soft radial stage; pass "transparent" to drop it.

fontFamily
string"Sora"

Typeface for the copy. The default is loaded for you; load any other font in your project first.

fontWeight
number500

Weight the words are sampled at.

hold
number22

Frames each word holds before the dots fly to the next.

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"

Ships light and dark palettes

  • wordsstring[]

    Words shown in order, each formed from the dots

    DefaultDEFAULT_WORDS

  • accentLastboolean

    Color the final word with the accent

    Defaulttrue

  • countnumber

    Number of dots in the field; minimum 300

    Default1500

  • accentstring

    Accent color (any valid CSS color)

    Default"#3B5BFD"

  • inkstring

    Color of the dots; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the soft radial stage; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. The default is loaded for you; load any other font in your project first.

    Default"Sora"

  • fontWeightnumber

    Weight the words are sampled at.

    Default500

  • holdnumber

    Frames each word holds before the dots fly to the next.

    Default22

  • 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

  • speednumber

    Playback speed multiplier

    Default1

  • theme"dark" | "light"

    Ships light and dark palettes

    Default"dark"

Common questions

How can I draw words like Think, Make, Ship out of round dots in Remotion?

Install Dot Type with npx shadcn@latest add @remocn/dot-type and pass words. count sets how many dots make up each word.

How long does it run?

46 + (words − 1) × (34 + hold) frames at 30 fps: 158 for the defaults. Double it at 60 fps.

  • Typewriter: character-by-character text reveal with a deterministic blinking cursor.
  • Ndot Resolve: a headline scans in as a dot-matrix face, then refreshes letter by letter into solid type.
  • Strobe Words: big words strobe in on flashing fields at a tightening rhythm, then land on a poster with the logo.