Canvas Invaders
August 24th, 2005The up-and-coming star of Rich Internet Applications might just be the canvas
element—I’ve written on this before.
But is it capable enough for those rich controls and data views? It certainly seems so, as demonstrated in this little demo:
http://mir.aculo.us/stuff/canvas-invaders/index.html
Use cursor left/right to control your ship and press space to fire!
The demo also draws upon the latest script.aculo.us SVN trunk version for element building, event handling and the fade-in effect.
The background is a rotating “star field” showing how to use a simple 3d projection with the canvas
element (hopefully there will be support for a 3d canvas element in the future, but specs on this remain to be written).
Note: Safari only this time, Firefox Deer Park seems to have some bugs left preventing it from working properly. Also note that the demo resizes your browser window.
Tweet