Gravitational Lens

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

What it does

Demo card for the gravitational-lens shader transition: two flat-color sample scenes blended by the shader, beside a label panel. The card is not a drop-in; use the shader through the shader-transitions package or lift its GLSL.

Get it

Copy the folder into a project, or npx hyperframes add gravitational-lens (fetches it from GitHub main to compositions/gravitational-lens.html). It is a whole page with its own timeline: render it alone, or mount it in a film as a sub-composition.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net, fonts.googleapis.com).

Re-skin

Edit the file (colors, type, text)

No declared variables. 3 hex colors and 4 font stacks are written in the file's CSS. The words are in the HTML.

Size

1920 x 1080 · 4 s

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