Cut the Curve

HTML to video · A cut between two pictures · Apache-2.0

What it does

A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.

Get it

Copy it, or npx hyperframes add cut-the-curve, to compositions/components/cut-the-curve.html and mount it as a sub-composition; it brings its own timeline. 5 settings to change.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By props (colors, type)

Declared variables: subject, direction, cutFraction, blurPx, exit. Colors and type come from theme custom properties with fallbacks (--bg, --border, --fg, --font-body, --radius, --space-1, 9 in all), so a :root block or one of the three themes re-skins it. It also reads its own custom properties…

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library