This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Kazekeil
Kazekeil presents ...

2012/5/16

CelluGen

Control:

Press "n" to generate a new ruleset mid simulation.

Click squares to toggle state.

___________________

This was just a quickly thrown-together test to see if a little idea I had would work. It still needs some work to make proper life rulesets, but this is the working foundational version to test and build off of. I need to make the drawing work better, add a pause button, refresh button, multi-thread it for faster drawing, etc.
I wish greenfoot could handle text input. This test is the stepping stone for a program where users can enter words, like their name, and a ruleset will be generated from it. Feel free to look over the source code, messy and undocumented as it is.

4194 views / 14 in the last 7 days

1 vote | 0 in the last 7 days

Tags: game simulation life of cellular automata john recursion fractal iteration

open in greenfoot
Your browser does not support the canvas tag.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

Builderboy2005