Saturday, December 22, 2012

"Life" on Canvas

So, it _finally_ snowed on Wednesday.

This has been a very mild Fall.  So, I haven't been messing around with inside projects too much.

But last night I did do a little implementation of the "game" Conway's Game of Life (http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) in JavaScript using the canvas tag.


It doesn't do much, it's randomly seeded and the edges aren't really handled properly.

If you click on the canvas, it will unleash a glider.  :)

You can zoom with ctrl+ and ctrl- (browser zoom).

No comments:

Post a Comment