0.0
No commit activity in last 3 years
No release in over 3 years
A collection of algorithms for generating cellular automata. Currently only contains "elementary cellular automata" or aka the cool pictures from the Wolfram book. Provides a Automata::Elementary class that takes rule number, initial state along with a #run(steps) method. Produces an array of strings as a result.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

ugly.automata¶ ↑

A collection of algorithms for generating cellular automata. Currently only contains “elementary cellular automata” or aka the cool pictures from the Wolfram book.

Features¶ ↑

  • Provides a Automata::Elementary class that takes rule number, initial state along with a #run(steps) method.

  • Produces an Array of Strings as a result.

Installation¶ ↑

gem install ugly.automata

Requirements¶ ↑

Requires ruby 1.9. Tested with:

  • ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]

  • jruby 1.6.4 (ruby-1.9.2-p136) (2011-08-23 17ea768) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]

Usage¶ ↑

require 'automata'

automaton = Automata::Elementary.new(110)
automaton.run(2000)

Author¶ ↑

License¶ ↑

Apache 2.0, See the file LICENSE

Copyright © 2011 Michael Garriss