News for hackers. Stuff that matters.

aerotwist

Re:Optimizing Rendering Performance on Monday March 30, 2015 @03:38PM (#9292024)
Yes those do: http://www.html5rocks.com/en/tutorials/speed/high-performanc... I was just clarifying on the remark of JS / jQuery as the cause of poor performance rather than what specifically was animated.
Re:Optimizing Rendering Performance on Monday March 30, 2015 @01:27PM (#9291030)
That's not quite true. Using a CSS transition on left, top, width etc requires a trip to the main thread, so it's no better of worse to do it with CSS than JavaScript. It is bad in both cases and should be avoided.

Equally animating transform and opacity changes with JS or CSS is normally the same. The only time we can do compositor only is when it's something like an infinite animation of something like a transform; that can be done without hitting the main thread. That rarely happens in real life though. Most apps and sites have way more complex anims going on.

Re:The new WebGL Podcast - The Pilot on Monday November 12, 2012 @04:50PM (#4774979)
Thank you!
Re:The new WebGL Podcast - The Pilot on Monday November 12, 2012 @04:34PM (#4774921)
Hope so! :) Feel free to let me know if you have specific questions, and if I can flow them into the podcast I will. I'd rather the episodes actually answered peoples' questions than be based on my hunches as to what's interesting or helpful.
Re:CSS 3D Geometry and Lighting - Spikes on Friday May 06, 2011 @04:52AM (#2520398)
It's using CSS 3D transforms not WebGL :)
Re:CSS 3D Geometry and Lighting - Spikes on Friday May 06, 2011 @04:51AM (#2520396)
The rendering is still done in CSS, which was the point, as opposed to using Canvas or WebGL. I wasn't trying to do everything in CSS, since that wouldn't actually be possible

I take your point, but however you choose to apply the CSS it's still CSS :)

Re:CSS 3D Geometry and Lighting - Spikes on Friday May 06, 2011 @04:20AM (#2520349)
Since CSS 3D transforms require the GPU you will need either Chrome or Safari running on a computer which supports GPU acceleration. Chrome on Windows XP, for example, does not allow use of the GPU by default so you wouldn't see WebGL or CSS 3D transforms
Re:Surface [WebGL] on Sunday April 03, 2011 @05:00PM (#2404003)
Simple isn't always bad ;)
Re:Photo Particles - explode your pictures on Tuesday March 29, 2011 @06:59AM (#2382131)
It's relying on Modernizr's detection of WebGL, which is the best available. But yes WebGL is not ubiquitous as yet so some folks aren't going to see it.