Skip to content
Animations104 / 118

Lumen Capsule

A scratched glass capsule floating in the dark, lit only by its rim. It tumbles slowly like an object in space while the studio light turns with your cursor, catching the iridescent film and every hairline scratch. Fling it and it coasts, leaving echoes; click and it winds up, splits open, hangs, then clacks shut with a squash.

three.jsPhysical glassDispersionIridescenceSpringsGSAP
Drag to fling itClick to split it open

Tweak

LIVE

Light

Rim light

Glass

0.60

Motion

1.0×

Spin echoes

Props

7 props
  • palette"daylight" | "aurora" | "ember"
    Colours of the rim light.default "daylight"
  • scratchesnumber
    How visible the surface scratches are, 0 to 1.default 0.6
  • speednumber
    Speed of the idle tumble (0 = still).default 1
  • trailsboolean
    Fading echoes when it spins fast.default true
  • backgroundstring
    Canvas background.default "#000000"
  • onSplit() => void
    Called each time it splits open.
  • classNamestring
    Extra classes (it fills its parent).