Conway’s Life in Ruby(Cube)
March 10th, 2007 by proj
Inspired by the animated patterns in a stress test I put together an implemetation of the original cellular automaton program ‘life’ using ruby and the extension I’ve been hacking on lately.
It’s a simple idea but it can produce some very nice patterns.
Here’s life out of control, if you muck with the death condition:
Here’s a stable pattern produced by the block and blinker in the sample:
The code will be part of the samples but if you want to take a look I’ve uploaded it. Any comments are welcome, I know that I’m not the best Ruby coder out there.
Related posts:








