Live data from Hacker News

We're losing perspective on 3D CSS

logicalfriday.com

1–10 of 14 posts

Re: We're losing perspective on 3D CSS

#3

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.

I played around creating a flippable-card based UI for use on mobile:

http://experimenting.alastair.is/cardswipe/

I think it has potential. And yes, I know it doesn't feel quite right (or work on desktop), it was the result of a few hours of work. The hardware-accelerated nature of it means that it does feel very smooth indeed.

Re: We're losing perspective on 3D CSS

#6
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 ago that people would be using JavaScript on the server I would have laughed.

Re: We're losing perspective on 3D CSS

#7

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.

I have built a very specific product preview with 3D CSS (http://www.foldable.me) and have experimented some more with 3D CSS, but struggled to find a usecase for it (other than some funky UI animations).

Re: We're losing perspective on 3D CSS

#8

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.

Exactly. It's the CSS equivalent of writin a Brainfuck interpreter in C++ template metaprogramming.

http://rfw.name/blog/2012/11/12/brainfuck_with_templates.htm...

Re: We're losing perspective on 3D CSS

#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!

Re: We're losing perspective on 3D CSS

#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.
Post reply on HN