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 this set. Take the first set of differences, and sort that. Let the final set of differences be dd0,dd1,dd2... in order. Then if dd3>dd1+dd2, color the pixel white, else color it black.