r/creativecoding • • Sep 11 '25

Shape-Shifting 3D Particle System

Built in three.js using 4,000+ particles that smoothly morph between 3D forms like a cube, sphere, torus, cone, cylinder, Klein bottle, and Möbius strip.

You can:

  • Switch between shapes with a click

  • Adjust particle count and size

  • Pick any color

  • Watch smooth morphing transitions

  • Rotate freely with orbit controls

The UI is fully collapsible and the entire scene has ambient and directional lighting with real-time rendering. Everything stays fluid even at higher particle counts.

I would love to see what others could add to this script.
Remixable live demo in comments.

816 Upvotes

Duplicates