From Matthew Conroy_s blog_http_www.m

From Matthew Conroy&#39;s blog<br><a rel="nofollow" target="_blank" href="htt...
Tim HuttonTim Hutton - 2013-01-19 15:34:23+0000 - Updated: 2013-01-19 15:34:23+0000
From Matthew Conroy's blog

Another in a series:​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 average z of d_2/d_1, d_3/d_2, ... . Find the minimum difference k=|d_j - z d_k|, where j and k run over 1 to 10. Color the pixel via an increasing function of k.

Shared with: Public

This post was originally on Google+