SFML community forums

General => SFML projects => Topic started by: ayebear on May 30, 2014, 04:58:25 am

Title: Cells - Cellular Automaton Program
Post by: ayebear on May 30, 2014, 04:58:25 am
I wrote a program called "Cells" in C++ using SFML 2.1. It is a cellular automaton program, and was inspired by Conway's Game of Life. The interesting thing about it is that it supports custom rule sets, which change how the states of the cells are determined. It is also completely interactive, so you can change the states of the cells on or off by clicking and dragging with your mouse (even while it is simulating). There is a GUI to control various settings, such as the rules (which can be entered by the string format or by left/right clicking the states of the table). You can also save/load the board, record screenshots, change the color palettes, and copy/paste.

You can read about more features, check out the source code, or download a build here:
https://github.com/ayebear/Cells (https://github.com/ayebear/Cells)

A screenshot of the program after some scribbling:
(https://dl.dropboxusercontent.com/u/10528991/Cells.png)

Another screenshot of a different rule set, with different colors, and zoomed in to see the grid:
(https://dl.dropboxusercontent.com/u/10528991/Maze%20rule.png)

I hope this program is useful and/or fun, and I welcome any criticism/feedback.
Title: Re: Cells - Cellular Automaton Program
Post by: autumnchestnut on May 30, 2014, 06:45:46 am
I love it!
(http://i.imgur.com/OdQ7It6.png)

No, but honestly, this has a fantastic UI. I love the mouse interaction. Fantastic work!
Title: Re: Cells - Cellular Automaton Program
Post by: ayebear on May 30, 2014, 11:30:04 pm
Thanks, I really appreciate it!

Do you remember if you were using a replicator rule set for that?
Title: Re: Cells - Cellular Automaton Program
Post by: Syntactic Fructose on June 01, 2014, 05:26:53 pm
This is extremely cool!

EDIT: I wrote you a windows install script and made an issue on your repository, check it out and see if you'd like to use it!