Gooey Morph

Gooey morph text for Remotion: bars fly in Tetris-style, land in a row and melt into a title word through a liquid blur-and-threshold SVG filter.

In Remotion, Gooey Morph has bars fly in Tetris-style, land in a row, then melt into a title word with a gooey blur-and-threshold effect. Use it for a liquid, organic title reveal in a brand intro or launch video.

Installation
$ pnpm dlx shadcn@latest add @remocn/gooey-morph

How to build this in Remotion

You don't need @remotion/paths, flubber or a hand-tuned SVG filter. Install the component and pass your word:

bash
npx shadcn@latest add @remocn/gooey-morph

Everything that fuses sits in one SVG group under one filter: feGaussianBlur and feColorMatrix make the goo, and feTurbulence with feDisplacementMap wobbles it. Bar travel and the morph are interpolate() with Easing, placed by timeline.ts.

Good to know

  • Length: 76 frames of motion at 30 fps (152 at 60 fps) with the default props. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • Installs: remotion from npm, plus the remocn helpers frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: sans-serif at weight 900 by default, so nothing to load. Pass fontFamily for your own face and load it in your project.
  • Rendering: the filter is plain SVG and every value is a function of the frame; the turbulence uses a fixed seed (7). There is no Math.random, so frames match across Remotion's parallel render tabs.
  • The four bars are not mapped to letters: they land at barRestPositions and fade as the word fills in. For a longer word, set barRestPositions (and barStartPositions, barEntryFrames) to span it, and fontSize to fit.
  • Positions and sizes are in composition pixels for 1920×1080 (width/height props); retune them for other sizes.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { GooeyMorph } from "@/components/remocn/gooey-morph";
 
const GooeyMorphScene = () => (
  <GooeyMorph word="HELLO" fontFamily="'Bodoni Moda', Georgia, serif" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="GooeyMorph"
    component={GooeyMorphScene}
    durationInFrames={240}
    fps={60}
    width={1920}
    height={1080}
  />
);

The melt works by blurring the alpha channel and pushing it through a near-vertical threshold: where two shapes sit close, their blurred edges add up, cross the threshold, and paint a solid neck between them. Everything that should fuse lives inside the component's single filtered group — nearby elements outside it never join the goo.

Props21

PropTypeDefault
word
string"HELLO"

The word the bars melt into

fill
string"#ffffff"

Fill color of the bars and the word

fontFamily
string"sans-serif"

Font family of the word — heavy display faces melt best

fontSize
number237

Font size in comp pixels

tracking
number0

Letter spacing of the word

wordCenterX / wordBaselineY
number961.4 / 601.3

Horizontal center and baseline of the word in comp pixels

width / height
number1920 / 1080

Coordinate space of the composition

barWidth / barHeight
number213 / 181

Size of each bar in comp pixels

barStartPositions
[number, number][]4 scattered points

Where each bar starts, as `[x, y]` centers

barRestPositions
[number, number][]4 points in a row

Where each bar lands before the melt

barEntryFrames
number[][8, 0, 4, 13]

Per-bar entry frames — deliberately non-monotonic so the build reads as Tetris, not a wave

barTravelFrames
number30

Length of one bar's L-shaped move: horizontal into the column, then vertical into the row

morphStartFrame / morphPeakFrame / morphEndFrame
number50 / 63 / 76

The melt window. Blur and displacement are zero outside it

blurRadius
number6

Peak goo blur radius

blurIterations
number6

Box blur passes folded into the equivalent Gaussian sigma

alphaInputBlack / alphaInputWhite
number0.4588 / 0.5098

Alpha threshold range — the narrower, the harder the goo edge

displaceAmount
number20

Peak turbulent displacement of the goo edge, in pixels

displaceSize
number19

Feature size of the displacement noise

displaceComplexity
number1

Noise octaves

displaceEvolutionPerSecond
number50

How fast the noise field pans, per second

className
string—

Optional className passed to the wrapper

  • wordstring

    The word the bars melt into

    Default"HELLO"

  • fillstring

    Fill color of the bars and the word

    Default"#ffffff"

  • fontFamilystring

    Font family of the word — heavy display faces melt best

    Default"sans-serif"

  • fontSizenumber

    Font size in comp pixels

    Default237

  • trackingnumber

    Letter spacing of the word

    Default0

  • wordCenterX / wordBaselineYnumber

    Horizontal center and baseline of the word in comp pixels

    Default961.4 / 601.3

  • width / heightnumber

    Coordinate space of the composition

    Default1920 / 1080

  • barWidth / barHeightnumber

    Size of each bar in comp pixels

    Default213 / 181

  • barStartPositions[number, number][]

    Where each bar starts, as `[x, y]` centers

    Default4 scattered points

  • barRestPositions[number, number][]

    Where each bar lands before the melt

    Default4 points in a row

  • barEntryFramesnumber[]

    Per-bar entry frames — deliberately non-monotonic so the build reads as Tetris, not a wave

    Default[8, 0, 4, 13]

  • barTravelFramesnumber

    Length of one bar's L-shaped move: horizontal into the column, then vertical into the row

    Default30

  • morphStartFrame / morphPeakFrame / morphEndFramenumber

    The melt window. Blur and displacement are zero outside it

    Default50 / 63 / 76

  • blurRadiusnumber

    Peak goo blur radius

    Default6

  • blurIterationsnumber

    Box blur passes folded into the equivalent Gaussian sigma

    Default6

  • alphaInputBlack / alphaInputWhitenumber

    Alpha threshold range — the narrower, the harder the goo edge

    Default0.4588 / 0.5098

  • displaceAmountnumber

    Peak turbulent displacement of the goo edge, in pixels

    Default20

  • displaceSizenumber

    Feature size of the displacement noise

    Default19

  • displaceComplexitynumber

    Noise octaves

    Default1

  • displaceEvolutionPerSecondnumber

    How fast the noise field pans, per second

    Default50

  • classNamestring

    Optional className passed to the wrapper

Inspired by 5 Clean Text Animations by Mapal.

Common questions

How can I have bars fly in Tetris-style and melt into a title word with a gooey effect in Remotion?

Install Gooey Morph with npx shadcn@latest add @remocn/gooey-morph and pass word. Four bars fly in, land in a row and fuse into the word through the blur-and-threshold filter.

Is the SVG filter safe to render with Remotion concurrency?

Yes. It has no randomness beyond a fixed turbulence seed, so every frame depends only on the frame number.

Does it work for a longer word?

Yes, but widen barRestPositions and set fontSize so the row and the word line up.