News for hackers. Stuff that matters.
Re:Cool water vapor effect in HTML5 Canvas by onion2k on Friday June 28, 2013 @05:05AM (#5956965)
It's 'just' a couple of scrolling images for the vertical and horizontal vapour, and a rotating image for the swirl where they meet. Very effective indeed. I'm impressed.
Re:Cool water vapor effect in HTML5 Canvas by adcuz on Friday June 28, 2013 @06:54AM (#5957248)
Indeed, I've played with it a bit to demonstrate: http://s3.amazonaws.com/clouds-reverse-engineered/index.html
Re:Cool water vapor effect in HTML5 Canvas by w_t_payne on Friday June 28, 2013 @07:13AM (#5957301)
Gah! Now I understand how it works, it does not look nearly as cool as it did before!
Re:Cool water vapor effect in HTML5 Canvas by arnarbi on Friday June 28, 2013 @08:24AM (#5957545)
I think it looks even cooler because of its simplicity.
Re:Cool water vapor effect in HTML5 Canvas by CodeCube on Friday June 28, 2013 @09:46AM (#5957917)
Hah! the funny part is that at first glance, I had almost convinced myself that they had implemented a full fluid dynamics system because I was like, "it's even causing a little localized vortex!" :P
Re:Cool water vapor effect in HTML5 Canvas by skion on Friday June 28, 2013 @07:39AM (#5957373)
Gah! It does look cooler in a geeky way now. Nice!
Re:Cool water vapor effect in HTML5 Canvas by zaroth on Friday June 28, 2013 @05:31AM (#5957033)
Agreed, when you know what to look you can see the components, but at first glance it looks very believable.

Too bad even such a simple visual hack was enough to get the fans spinning on my mac air (circa 2011)

Re:Cool water vapor effect in HTML5 Canvas by robmcm on Friday June 28, 2013 @06:29AM (#5957189)
Yeah HTML 5 is such a resource hog! Brign back flash :p
Re:Cool water vapor effect in HTML5 Canvas by tjoff on Friday June 28, 2013 @12:58PM (#5959016)
The biggest advantage of flash is that it is easy to disable and you don't loose out on disabling it.

Yes, I'm prepared to miss they days of flash.

Re:Cool water vapor effect in HTML5 Canvas by vanderZwan on Friday June 28, 2013 @08:30AM (#5957566)
It's because they don't understand how to properly use canvas, as was pointed out here: https://news.ycombinator.com/item?id=5957101
Re:Cool water vapor effect in HTML5 Canvas by sdoering on Friday June 28, 2013 @05:46AM (#5957076)
Oh yes. My CPU-Meter jumped from 3-7% to 35 - 55% while the page was open and dropped back to the previous-level on closing the tab.

Too bad, as it really is a cool effect, done with relatively simple assets...

Re:Cool water vapor effect in HTML5 Canvas by ygra on Friday June 28, 2013 @08:02AM (#5957465)
Interesting. Neither Chrome nor IE or Firefox on Win 8 go above 3 % CPU utilisation here
Re:Cool water vapor effect in HTML5 Canvas by adventured on Friday June 28, 2013 @08:43AM (#5957617)
Same here. Firefox + Win8 and it stays at 2.5% to 3%.
Re:Cool water vapor effect in HTML5 Canvas by dan1234 on Friday June 28, 2013 @11:08AM (#5958377)
Safari on 10.8.4 and the CPU usage is only 2-3% higher with that tab open. (iMac/2012)
Re:Cool water vapor effect in HTML5 Canvas by demallien on Friday June 28, 2013 @09:44AM (#5957905)
On a Macbook Air 2012 running Mavericks it sits at 1-2% CPU usage...
Re:Cool water vapor effect in HTML5 Canvas by benjamincburns on Friday June 28, 2013 @09:51AM (#5957943)
What browser?
Re:Cool water vapor effect in HTML5 Canvas by demallien on Friday June 28, 2013 @09:56AM (#5957971)
Ahhh, good question. Safari.