3 ms·
Yeah, the rules don't scale as well as I would have liked. I started with scaled rules based on the original rules: Loneliness: sqrt(1)^3 = 1 Breed: sqrt(3)^3 =
by samlev 15y ago
Yeah, the rules don't scale as well as I would have liked. I started with scaled rules based on the original rules:
Loneliness: sqrt(1)^3 = 1
Breed: sqrt(3)^3 = 5.196152423 = 5
Overcrowd: sqrt(4)^3 = 8
That didn't work out so well, so with a little trial and error, I came to the final:
Loneliness: 2 (having 1 caused checkerboard walls everywhere)
Breed: 3-5
Overcrowd: 8
In due course, I plan to build in some form of "editor" because currently it just randomly places squares. I think that if you can specifically place some squares, it might produce some more interesting patterns.
- samlev 15y agoTurns out I had a minor bug in my logic. Fixed it, and returned to the original rules: 1, 5, 8. It tends to either die out quickly, or bloom and take up most of the grid. It also runs a lot slower now.