Developed as part of a creative coding meetup at Recurse Center Initial concept developed in collaboration with Ingrid Chung and Kawayan de Guzman.
Currently deployed here
Download the html file (the JavaScript is all embedded) and the three.js library file to the same folder. Launch the html file in a browser.
- Scroll to zoom in/out
- Click and drag to rotate camera
The bubbles will build up over time.
Bubbles spawn with randomized colors, positions, and growth rates Each time a bubble doubles in size it 'pops' and spawns two new random children
To limit the exponential growth consequences, there is a constant limit on actively growing bubbles MAX_BUBBLES
You may adjust the value of MAX_BUBBLES based on your system hardware (default = 500).
Each time this cap is exceeded, half of the existing active bubbles get frozen allowing density to grow over time