Kimri

Møvers

Each block has a velocity, a length, and a mass. When two adiacent blocks superpose, they accelerate proportionally to each other's mass, which slowly decays, bringing the system eventually to a halt. Touching one of the edges causes a sound to be triggered, and a deceleration. This simple system determines the interval at which the sounds are triggered in a complex, emergent way.

The code is written in Javascript using the p5.js and p5.sound library.