~1 min read



Click on the blue sky and watch the spheres burst!

The p5.js code for the sketch is available in the site repository. This is based on Processing code, which can be found here. I used this code in conjunction with music processing software to create part of my video for my song Clouds. In the Processing code, the spheres burst on keystrokes, and fade away as they fall. This reflected the dreaminess of this part of the music for me.

For the p5js code, I had to remove all the music and video processing code, convert the code, and basically rewrite practically everything as the 3D system and lighting is not exactly the same. It’s not very different, but it still required some tweaking.

A full screen random version is available here