News for hackers. Stuff that matters.
Re:Ripple effect in HTML5 canvas by cryptoz on Wednesday February 23, 2011 @04:54PM (#2255991)
While I agree that this particular demo is poorly done and doesn't really showcase HTML5 very well (see mr doob), there's a lot to be said for why it's important that it's running in the browser.

Pretty much every single computer that has a screen is capable of running this demo. Somewhere near a million new smartphones are being sold every day, collectively between the different platforms. Some of those run Java, some run Objective C, some run C#....

But they all run JavaScript.

All desktop computers, all laptops, all tablets, all smartphones...they all can run this demo. HTML5/JavaScript is much better poised to be "write once run everywhere" than Java ever was.

Re:Ripple effect in HTML5 canvas by pietro on Wednesday February 23, 2011 @05:35PM (#2256116)
My laptop is running the demo at 65% CPU. I'm pretty sure my iPad or phone wouldn't be able to run it for any meaningful definition of "run".
Re:Ripple effect in HTML5 canvas by cryptoz on Thursday February 24, 2011 @01:34PM (#2259182)
Sure, but look at the future a bit. I highly doubt iOS will ever run Java and I highly doubt Android will ever run C#. But hardware will get faster, and as that happens the demos performance will improve.

It may be a bit early to write 3D games or video editing software in JavaScript for iOS and Android and Windows all at the same time, so you've got to look to the future for that kind of excitement.

Re:Ripple effect in HTML5 canvas by mcav on Wednesday February 23, 2011 @06:17PM (#2256236)
Tested on my iPhone 4: 1.2 fps.

At least it doesn't crash.