Show HN: A CSS 3D Engine (no WebGL)
github.com
Show HN: A CSS 3D Engine (no WebGL)
1–10 of 29 posts
Re: Show HN: A CSS 3D Engine (no WebGL)
#2Re: Show HN: A CSS 3D Engine (no WebGL)
#3Re: Show HN: A CSS 3D Engine (no WebGL)
#4I give it 15 minutes before someone on here ports Doom
Re: Show HN: A CSS 3D Engine (no WebGL)
#5But why not use WebGL? It's widely available, more efficient, and can render at a much higher quality. https://polycss.com/gallery/?model=2843066616 https://threejs.org/examples/#webgl_animation_multiple
Re: Show HN: A CSS 3D Engine (no WebGL)
#6But why not use WebGL? It's widely available, more efficient, and can render at a much higher quality. https://polycss.com/gallery/?model=2843066616 https://threejs.org/examples/#webgl_animation_multiple
For me, the interesting case is smaller low-poly or voxel scenes where loading a full 3D stack may be overkill, and where keeping the scene in DOM/CSS gives you easier integration with normal layout, styling, events, etc. Once you have the HTML, you don't even need to load the library to render a static model.
Also, part of the experiment is testing the browser’s limits and getting a clearer sense of where this approach works, where it breaks down, and what the tradeoffs are.
Cheers!
Re: Show HN: A CSS 3D Engine (no WebGL)
#7Re: Show HN: A CSS 3D Engine (no WebGL)
#8Would you recommend this for hacking around or not?
Re: Show HN: A CSS 3D Engine (no WebGL)
#9But why not use WebGL? It's widely available, more efficient, and can render at a much higher quality. https://polycss.com/gallery/?model=2843066616 https://threejs.org/examples/#webgl_animation_multiple
Hi there! This is not trying to be a three.js replacement, scenes with huge polygon counts naturally should render in canvas. For me, the interesting case is smaller low-poly or voxel scenes where loading a full 3D stack may be overkill, and where keeping the scene in DOM/CSS gives you easier integration with normal layout, styling, events, etc. Once you have the HTML, you don't even need to load the library to rende…
Re: Show HN: A CSS 3D Engine (no WebGL)
#10Always thought it would be cool to make an RTS or simple city builder game in the browser. Would you recommend this for hacking around or not?