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=| 2 - d_k/d_k-1| is as small as possible. Color the pixel according to this minimal value of z.