Random Particles

Within a field of pseudo-randomly positioned, moving particles, a ball bounces…

The metric is currently hard-coded as the Manhattan metric. There are two other metrics in the JavaScript (Euclidean and Minkowski) but no way to dynamically select them. I should probably fix that. Also, some of the particles in the implementation may be a little less random than others.

Unfortunately, I can’t recall where the inspiration for this is from. I think the project is on CodePen somewhere but I couldn’t find it when searching for it again. Alas, I should probably keep notes about such things…