Name | Modified | Size | Downloads / Week |
---|---|---|---|
README | 2009-10-04 | 1.1 kB | |
LICENSE.txt | 2009-10-04 | 1.1 kB | |
cavp.py | 2009-10-04 | 3.5 kB | |
Totals: 3 Items | 5.7 kB | 0 |
Cellular Automata Visualization Program Authors: Anil C R <cranil89@gmail.com> Copyright (C) 2009 Anil C R For license information, see LICENSE.txt The Cellular Automata Visualization Program - is a program to visually display the evolution of a 2D cellular automata. Dependencies: Python >=2.5 <http://www.python.org> Numpy >= 1.2.1 <http://numpy.scipy.org/> PyOpenGL >= 3.0 <http://pyopengl.sourceforge.net/> Usage: python cavp.py [options] OPTIONS: -d Default initialization of rules -h Displays this message -a Animates the evolution The rule set contains a list of numbers between 0 and 511 (both inclusive) The numbers are calculated as follows: suppose the rule is: 1 0 1 0 1 0 1 1 1 then, consider the array: 64 32 16 128 256 8 1 2 4 the rule number is calculated as : 1*1 + 1*2 + 1*4 + 0*8 + 1*256 + 0*128 + 1*16 + 0*32 + 1*64 = 343 TODO: Remove dependency with numpy Add visualization for 1-D, and 2-D CA Add rulesets for some standard CAs (Eg: Conway's game of Life)