inhaesio zha
Registered: Oct 2005
Posts: 403 |
cellular automata library in c
I'm working on a generalized cellular automata library in c. It's part of the "h" project, in the "cell" directory:
http://github.com/inhesi/h/tree/master/cell/
http://github.com/inhesi/h/tree/master
It's not intended to be the fastest cellular automata library; rather it's aimed at being general enough to explore new kinds of cellular automata...it has hooks for causing behavior to happen between time steps, for example, and it has a generalized way of describing the way a cell is connected to its neighbors, to aid in creating automata whose space is in various shapes.
As a test, it currently implements eca, crow, ant, clear, and k3 -type automata, and generates .jpg snapshots for verification.
The source is available, and you're welcome to take it, use it, and contribute to it.
Zha
Report this post to a moderator | IP: Logged
|