Saturday, February 2, 2008

Spiral Galaxy Generation in Ruby


The logarithmic spiral form often appears in nature. It is seen in nautilus shells, hurricanes, spiral galaxies, and plants. A simple Ruby program can be used to generate this pattern, and the results can be displayed with the GNU statistics package R. My Ruby code is available here.

No comments: