Skip to content
3D & Experimental

FloatingPlanet

A ringed planet with drifting cloud bands bobs in space and leans gently toward the mouse. The rings and the planet shadow each other. WebGL, no three.js.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
colors[string, string, string]["#a78bfa", "#f472b6", "#fde68a"]Six-digit hex colours for the cloud bands.
ringsbooleantrueShow the rings.
starsbooleantrueShow twinkling stars behind it.
speednumber11 is the default pace; 2 is twice as fast.
labelstring"A ringed planet floating in space"Name read out by screen readers.
classNamestring"aspect-square w-80"Set the size here.