00:00
15
Another in a series: vimeo.com/album/1505429
10 particles move around linearly at various constant speeds, bouncing off the sides.
For each pixel, calculate the distance from the pixel to each particle. Sort these distances to get d_1, d_2, ..., d_n. Find the minimum z=| 3 - d_k/d_{k - 1} |. Color the pixel according to this minimal value of z.
This is very similar to another in the series, but in blue/green by request.