Focus Rack

HTML to video · A camera move · Apache-2.0

What it does

Focus shifts once between two cards at different apparent depths through synchronized blur, dimming, scale, and parallax.

Get it

Copy it, or npx hyperframes add focus-rack, to compositions/components/focus-rack.html and mount it as a sub-composition; it brings its own timeline. 3 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, text)

Declared variables: label_a, label_b, accent. Colors and type come from theme custom properties with fallbacks (--bg, --fg, --font-body, --font-display, --font-mono, --surface), so a :root block or one of the three themes re-skins it.

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