Closed mdgart closed 6 years ago
Hi Mauro. Thanks for the sketch! I've run it locally and I see that simulation comes to a stable state pretty quickly. Maybe you could randomize initial state? It would be really cool to sit watch long simulation on quil.info.
Btw I have code ready to submit and upload to the site.
Sure that it's an easy change, I'll keep the part with the matrix commented, just in case someone want to try particular initial configuration.
On Sep 29, 2017 11:57 PM, "Nikita Beloglazov" notifications@github.com wrote:
Hi Mauro. Thanks for the sketch! I've run it locally and I see that simulation comes to a stable state pretty quickly. Maybe you could randomize initial state? It would be really cool to sit watch long simulation on quil.info.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/quil/quil-site/issues/18#issuecomment-333286387, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGvCSJgyP6khKahz7q2Z5bPq1l3I_j0ks5sndhmgaJpZM4PnvmZ .
Ok, it's random now, I also increased the size of the grid to 100*100
Thanks, Mauro! I added your sketch and it's live now: http://quil.info/?example=game%20of%20life ! I did a few changes though:
Kept grid size to 20. I thought 100x100 is too big for a browser version and on quil.info size of sketch in pixels is small (200x200) so grid size 100x100 would mean very small size of each cell.
Removed cell-size. It is automatically calculated from sketch width so that it looks good in small sketches on main page and if you open it in a separate window: http://quil.info/sketches/show/example_game-of-life
Feel free to add modifications. Just update this file and submit pull request.
Thanks again for the sketch!