June 1, 2026
CSS said: look, no game engine
Show HN: A CSS 3D Engine (no WebGL)
This wild 3D website trick wowed fans while skeptics asked, um, why not the normal way
TLDR: PolyCSS is a new tool that creates 3D scenes on a webpage using normal site elements instead of the standard graphics route. Commenters were split between impressed "this is awesome" reactions, jokes about someone porting Doom, and skeptics asking why anyone would choose this over the faster, more established option.
A new Hacker News post showed off PolyCSS, a tool that makes 3D scenes using regular web page elements instead of the usual graphics system. In plain English: it can turn boxes, models, textures, shadows, and even game-like scenes into actual HTML and CSS, the same building blocks used for normal websites. That alone was enough to make the comments split into two camps almost instantly: the "this is amazing" crowd and the "cool, but why would you do this?" squad.
The loudest reaction was pure internet instinct: someone immediately joked that Doom would be ported to it within 15 minutes. That set the tone. Instead of dry analysis, the thread got a burst of meme energy, curiosity, and mild disbelief. One commenter dropped a simple "wow thats cool", which honestly sums up the awe factor. Another saw bigger possibilities, daydreaming about browser-based strategy and city-building games and asking whether this was a fun toy or something you could seriously build with.
Then came the practical pushback. One skeptic basically asked the question hanging over the whole thread: if the usual 3D method is already common, faster, and prettier, why skip it? That was the mini-drama at the center of the discussion. Fans loved the creativity and the weirdness; doubters wanted a reason beyond "because it’s possible." And that tension is exactly why the post popped: it’s not just a new tool, it’s a glorious mad scientist web experiment people can’t stop poking at.
Key Points
- •PolyCSS is a DOM-based 3D engine that renders 3D assets as HTML elements using CSS `matrix3d(...)` transforms.
- •The library supports OBJ/MTL, GLB, glTF and VOX file loading, along with colors, textures, lighting, shadows, shapes and animations.
- •PolyCSS provides packages for vanilla JavaScript, React and Vue, and exposes a shared component model centered on `PolyCamera`, `PolyScene` and `PolyMesh`.
- •The API includes multiple camera, scene, mesh and control options, including orthographic and perspective views, dynamic or baked texture lighting, auto-centering and mesh optimization modes.
- •A snapshot export utility can generate a standalone HTML document by cloning a rendered scene, inlining required CSS and image assets, and removing scripts and inline event handlers.