Spiral Galaxy

three.js and WebGL · A background that moves · Apache-2.0

What it does

A spiral galaxy seen from outside, turning with real differential rotation: inner stars orbit faster than outer ones, so the arms wind up over the shot instead of spinning rigidly. The repo marks it experimental.

Get it

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

Source on GitHub
Needs

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

Re-skin

By props (colors)

Declared variables: stars, arms, rate, glow, size, core, rim. 4 hex colors are written in the file's CSS.

Size

1920 x 1080 · 10 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