Skip to content

blw0rm/cellautomata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Cellular Automata

This is an example implementation of cellular automaton algorithm. It's short description can be found at The Mendicant Bug. For more information about algorithm see [Wikipedia] (http://en.wikipedia.org/wiki/Cellular_automaton "Wikipedia").

Usage:

$ chmod +x ca.py
$ ca.py <initial data> <neighbourhood bits> <rules set> <iterations>

Assumptions:

  1. nbits - bits number per neighborhood, i.e. 3;
  2. data - Initial data which is a number, exponent of two, i.e 1099511627776 (0x10000000000);
  3. ruleset - Rules set, 8 bit, i.e. 90;
  4. iterations - Recommended number of iterations, i.e. 40;

About

Example implementation of Cellular Automata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages