Power-User Systems

Umbral Orrery

An orrery of moons casting real eclipse shadows across a shadowed world; drag to orbit.

Cook BookOrbitLoopDrag

Install

bun add three @react-three/fiber clsx tailwind-merge

Then copy 2 files into your project:

  • components/registry/umbral-orrery/umbral-orrery.tsx
  • lib/utils.ts

Props

PropTypeDefaultDescription
moonCountnumber3Number of orbiting moons.
orbitSpeednumber1Global orbit speed.
sunIntensitynumber2Sun brightness, which drives shadow contrast.
tiltnumber0.3Inclination of the orbital planes.
planetSizenumber1Radius of the shadowed planet.
moonSizenumber0.35Radius of the moons.
sunColorstring (hex)"#f0a830"Warm color of the sun and its light.
glowColorstring (hex)"#a855f7"Amethyst atmosphere rim on the planet.
cameraDistancenumber8Camera orbit radius.

What It Demonstrates

Orbit
An element circling around another in a continuous path.
Loop
An animation that repeats, a set number of times or infinitely.
Drag
Moving an element by grabbing it, often with momentum when released.

Related Components

Appears In