flâneur — a map of the web's best reading

CSS is DOOMed - Rendering DOOM in 3D with CSS | Hello my name is Niels Leenheer

nielsleenheer.com · 4,676 words · saved by 1 readers

Every wall, floor, barrel, and imp is a div — DOOM rendered entirely in CSS. Using 3D transforms, CSS math functions, @property, clip-path, anchor positioning, and SVG filters to build a fully playable 3D first-person shooter in the browser without Canvas or WebGL.

No, CSS is awesome. CSS is better than ever and it is only getting better. And that is why I built DOOM in CSS. Every wall, floor, barrel, and imp is a <div> , positioned in 3D space using CSS transforms. The game logic runs in JavaScript, but the rendering is entirely CSS. You can play it right now . Why? Because I wanted to find the limits of what a browser can do. See how powerful modern CSS is. And because it&#8217;s DOOM. In CSS. Do you really need more of a reason? So, modern CSS is awesome. The fact that you can even build something like this is proof how much CSS has progressed in the

Explore this link on the map →

saved by

related reading