Falling and bouncing boxes of black and white with artificial physics in a grey world that is constantly speeding and slowing and with periodic resetting. It was made using P5 for the graphics and matter.js for the physics engine.
Here is a screen capture video of it running:
To view the running animation click below:
The animation by default will have a crickets sound in the background which is nice but can be muted by pressing the ‘h’ key and, in the control panel, clicking/checking the ‘isMuted’ option. Next press the ‘h’ key again to make controls disappear. An interesting sound to accompany the animation is sound of Jupiter from a NASA recording. Open the following link in a separate tab/window:
You can view the live running code here:
Here is a capture of an example run:
I was experimenting with abstract art and vector maths to simulate shadows from an artificial light source. In this experiment the source of light is controlled by the horizontal position of the mouse cursor. It was inspired by a CD cover I saw somewhere. Here is a sample screen capture:
You can see a unique sequence of the live running code here:
Also here is a black and white variation on the above that has no shadows but is still interesting on its own.
Here is the running code for it: