Skip to content

dtreffenstaedt/Cellular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cellular Automat

depends on SDL2. It could use some parallelisation especially for slower computers.

To compile, type

make

To run, type:

./cellular [factor]

The argument determines how much each cell follows the average around itself. A 1 means that with each step the cell takes on the average value of it's surroundings, a negative value means it strays further from the average.

Values between 0.01 and 1.6 seem to be the most interesting.

The starting values are being randomly generated, to try specific patterns, the 'init' method would have to be modified.

To quit the program type q. If it seems to run too fast, uncomment the delay in the main loop in line 269.

About

A simple cellular automat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published