Gravitational Orb
An orb of tens of thousands of glowing particles that churns like a body under gravity. It moves from a calm sphere through standing waves to a turbulent pulse, leans towards the pointer and turns when dragged, and it can follow a sound, so it suits a voice assistant.
Included with membership
Members install Gravitational Orb with one command and get the full source, the usage code and the Framer remix, licensed for client work. One membership covers the whole library and the CLI.
When to use it
A hero or a voice assistant screen with one calm, living object at its centre. It glows, so it suits a dark page.
- Give its parent a position and a height. The orb fills it.
- Use morphMode="manual" with a function for morphProgress to make it follow a sound without re-rendering.
- Pass a poster for visitors who prefer reduced motion.
Avoid:
- Do not put it on a light page. The particles add light.
- Do not put two on one page. Each draws a full scene.
Props
An orb of tens of thousands of glowing particles that churns like a body under gravity. It moves from a calm sphere through standing waves to a turbulent pulse, leans towards the pointer and turns when dragged, and it can follow a sound, so it suits a voice assistant.
<GravitationalOrb />
An orb of tens of thousands of glowing particles that churns like a body under gravity.
| Prop | Type | Default | Description |
|---|---|---|---|
theme | GravitationalOrbTheme | "celestial" | Visual color theme. |
particleCount | number | ~80,000 (scaled by adaptive device quality) | Total particle count target. |
turbulence | number | 1.0 | Global turbulence / gravitational wave amplitude multiplier. |
frequency | number | 1.25 | Base frequency of the surface noise undulations. |
speed | number | 1.0 | Animation speed multiplier. |
morphMode | MorphMode | — | Morph animation mode: - "auto": smoothly cycles through calm sphere, harmonic resonance, and turbulent pulse (as in video) - "quiescent": calm spherical celestial orb - "resonant": standing harmonic wave lobes - "turbulent": intense amoebic gravitational deformation - "manual": driven strictly by `morphProgress` prop |
morphProgress | number | (() => number) | — | Manual morph progress (0.0 = calm sphere, 1.0 = full turbulent distortion). Used when morphMode is "manual". Pass a function to have it read every frame, so the orb can follow a sound without re-rendering. |
pointSize | number | 2.4 | Point size multiplier. |
rimPower | number | 2.2 | Rim Fresnel power (lower = broader glow, higher = sharp limb edge). |
interactive | boolean | true | Whether pointer cursor interacts with the gravitational field. |
gravityPull | number | 0.8 | Gravity pull factor towards the cursor. |
allowOrbit | boolean | true | Enable click-and-drag 3D rotation. |
onTelemetry | (telemetry: GravitationalOrbTelemetry) => void | — | Live telemetry streaming callback. |
poster | string | — | Static poster image for reduced motion or below-floor devices. |
className | string | — | Custom wrapper class. |
children | React.ReactNode | — | Overlay content. |