Skip to content
3D & Experimental

SphereWorld

Lit spheres circle one big sphere, cast shadows and show in each other's surface. Drag or use the arrow keys to walk around them. WebGL, no three.js.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
colors[string, string, string]["#a78bfa", "#22d3ee", "#f472b6"]Six-digit hex. The spheres take turns.
countnumber14How many spheres, the big one included. 2 to 24.
speednumber11 is the default pace; 2 is twice as fast.
backgroundstring"#0b0a14"Six-digit hex colour behind the spheres.
labelstring"Spheres circling a large sphere"Name read out by screen readers.
classNamestring"aspect-square w-80"Set the size here.