3 ms·
This is amazing, I think this is why cellular automata are so interesting - there are so many possibility (and conway's game of life is just a beginning!). Feel
by Aperocky 6y ago
This is amazing, I think this is why cellular automata are so interesting - there are so many possibility (and conway's game of life is just a beginning!). Feel free to pull request into ./sample/, alternatively I can add this in a commit later.
The one I found the most fun is actually semi-dynamic in maze runner, there's a small trick in that you can reuse color for colormap:
{
"0": [
"SpontaneousChange 1 0.15"
],
"1": [
"CountAdjacent gt 1 5 2",
"SpontaneousChange 3 0.00001",
"CountDirectlyAdjacent gt 3 0 3"
],
"2": [],
"3": [
"ChangeByBlockAge gt 1 4 1"
],
"4": [
"ChangeByBlockAge gt 2 1 1"
],
"colorMap": {
"0": "tintblack",
"1": "cyan",
"2": "gray",
"3": "yellow",
"4": "cyan"
},
"timeStep": 100
}