To view this content, you need to install Java from java.com
Ruby-Processing Via JRuby and Processing
Source: binary_ring.rb

Binary Ring

This sketch properly belongs to Jared Tarbell. Calculations have been optimized for the latest version of Processing, however.