- A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

HTML5 GoL simulator

For scripts to aid with computation or simulation in cellular automata.

HTML5 GoL simulator

Postby Pip » May 13th, 2012, 1:50 pm

I was bored, so I made a Life simulator in JavaScript using HTML5 technology.

Eh, it's not great. Certainly inefficient. (I could probably do significant optimization) I wrote it in basically one evening. It doesn't even have an auto-expanding board; it defaults to 100x600. If you want to run a board with a custom size, put it in the hashtag. For example:

Makes a board with 20x20 size.

Enjoy :P It takes my computer 11.5 seconds to calculate 100 generations on a 200x200 board (40,000 cells, 0.002875ms per cell per generation).

I apologize for the seemingly random domain, it's the only one I have to host it on xD
User avatar
Posts: 1
Joined: May 13th, 2012, 11:27 am

Return to Scripts

Who is online

Users browsing this forum: No registered users and 2 guests