Game of Life, on Canvas
By michelle | February 21, 2011
There are several ways to show generated graphical content on web pages. Macromedia’s Adobe’s Flash has been threatening ubiquity for years, while open alternatives like SVG have not yet really found their stride (although Inkscape is nifty!). Microsoft’s Silverlight is under rapid development, although people seem generally wary of it and cross-platform support is weak. HTML5’s canvas element finally gives us a ‘plain-html, no-plugins’ way to draw arbitrary pixels in the browser, that we can hope will be natively supported in browsers from now on – even IE9. To a web developer, this is exciting ;)
Here’s an implementation of Conway’s Game of Life, giving Canvas and Sliders a whirl.
Leave Your Comment