Live data from Hacker News

We're losing perspective on 3D CSS

logicalfriday.com

11–14 of 14 posts

Re: We're losing perspective on 3D CSS

#11
post #9
post #4

I think that creating 3D content using a WebGL-based application and then allowing export to 3D CSS may be a better solution rather than just creating the 3D in a CSS special purpose application. But admittedly, I'm biased because I'm a developer behind http://clara.io

You're right, 3D CSS still has a usecase though, it's just very restricted. Clara.io looks like a pretty sweet tool btw!

Be sure to apply for the beta, I can let you in immdiatel....

Clara.io is built using ThreeJS as your article recommends. I'm actually the third largest contributor to ThreeJS by commmits, so we are giving back where it matters too.

Re: We're losing perspective on 3D CSS

#13

Is anyone actually using 3D shapes in CSS in practice for anything more than novelty? If they are, I haven't seen it. It's been more of a "look what I can do with just CSS", because it's fun to hack around with new technology.

well, declaring a css transform as 3d, even if just using it for 2d transforms, seems to trigger GPU acceleration in some browsers, notably iOS. so, it's a new hack to use (margin: 0 auto; is so last year).

Re: We're losing perspective on 3D CSS

#14
post #10

I think as an art project it's interesting, like building the Sistine Chapel out of lego blocks, but every time I read about one of these demos there are always several people in the thread who complain that it maxes out their CPU, so it's not very practical. This problem may one day be solved, but using CSS as a programming language would for me be a horrible prospect. That being said, if you told me several years a…

No one is going to solve the problem unless there's a need for it. Developers jumping in and using CSS now creates the need. It's probably just a matter of getting enough hardware acceleration. I sort of agree that WebGL is probably a better solution. However, people experimenting can lead to serendipity. At the very least, browser vendors now have other to optimize their CSS implementations.

> Developers jumping in and using CSS now creates the need.

Agreed. That's a good thing. I haven't looked into why it's so slow but I can't think of a reason why it can't be faster.

Post reply on HN