News for hackers. Stuff that matters.
Re:ASCII interactive fluid animation by nyrb on Wednesday February 08, 2012 @12:57PM (#3567601)
This is really cool, but it is intensely consuming the 80% of my cpu resource (osx 10.7.3 intel dual core & 8gb ram).
Re:ASCII interactive fluid animation by gdubs on Wednesday February 08, 2012 @12:59PM (#3567615)
Agreed – this is very cool. Probably using so much CPU because it actually updates a paragraph tag in the DOM with all of those characters. I bet a canvas tag with text fills would solve the speed problem. But then, the page would not be SEO friendly ;)
Re:ASCII interactive fluid animation by nkwiatek on Wednesday February 08, 2012 @01:09PM (#3567664)
Canvas actually gave me disappointing results, believe it or not. The text rendering wasn't as fast or as pleasantly rendered compared to just using the DOM. It didn't seem worth it to me to try and optimize a canvas rendering routine, although I could have been overly naive with my initial tests.
Re:ASCII interactive fluid animation by mrdoob2 on Wednesday February 08, 2012 @02:11PM (#3567957)
Did you tried creating a imageData for every single character in the "ASCII gradient" and then using putImageData( imageData, x, y )?
Re:ASCII interactive fluid animation by nkwiatek on Wednesday February 08, 2012 @02:40PM (#3568087)
First of all, I am a big fan of your work Mr. Doob.

Secondly, no! That's a good idea, I'll have to try it out.

Re:ASCII interactive fluid animation by yread on Wednesday February 08, 2012 @01:50PM (#3567849)
Yeah i got ~2fps on WP7.5 omnia7
Re:ASCII interactive fluid animation by vacri on Wednesday February 08, 2012 @04:24PM (#3568553)
running about 25% on a 2.6GHz laptop i7 here. gnome/firefox
Re:ASCII interactive fluid animation by mihaifm on Wednesday February 08, 2012 @02:58PM (#3568168)
i7 is at 10% :P
Re:ASCII interactive fluid animation by WhohReally on Wednesday February 08, 2012 @03:23PM (#3568285)
My P4 3Ghz with HT is about 70% :P