Blue Blip

Thoughts Technologies Ramblings Learning & Sharing

Power of JavaScript!

Almost no one doubts it, but still how powerful it is? Just go to http://www.chromeexperiments.com and see it for yourself! These awesome visuals use only JS and JS-based frameworks (such as Prototype & JQuery); no Adobe Flash or Microsoft Silverlight! Not just that, these demos could also be stress testers for your browser's JavaScript engine.

 "Google Gravity", "Browser Ball" & "Ball Pool" are my favorites! There are other fun stuffs too. Another (game) example showing the prowess of JS is http://www.gamesforthebrain.com/game/oooze.

 All these demos use the new <canvas> element introduced in HTML 5 spec and JS to manipulate it. <canvas> allows dynamic drawing/manipulation of graphics and images using JS in a web page. Possible usage scenarios include (but not limited to) showing dynamic graphs, charts, other data visualizations and creating interactive content without using any 3rd party components. Perhaps AJAX and <canvas> duo could make users' web experience at par with Flash or Silverlight. Wouldn't they?

<canvas> at present supported by Mozilla Firefox 1.5+, Apple Safari, Google Chrome 1.0+ and Opera; IE is yet to catch up (including IE8). So, see the above samples in <canvas>-aware browsers only.

Posted: Mar 31 2009, 01:32 PM by Siva M | with no comments
Filed under: