HalfStack Vienna 2026 โ€ข Nov 19, 2026

CSS is DOOMed

Niels Leenheer

After accidentally blowing up a 1980s oscilloscope with the Web Audio API, Niels Leenheer built a playable Doom engine using thousands of HTML divs and modern CSS.

Pause
Mute Enter Fullscreen
#1 about 5 min

Replacing laser projectors with vintage oscilloscopes for vector graphics

High costs of laser projectors for drawing vector graphics like Asteroids can be bypassed by steering electron beams on a vintage oscilloscope.

#2 about 4 min

Converting SVG animations into Web Audio waveforms for oscilloscopes

Drawing shapes on an oscilloscope requires sampling SVG path coordinates from the DOM and converting them into stereo Web Audio waveforms.

#3 about 7 min

Handling hardware failures and live oscilloscope game demos

After an older oscilloscope exploded during testing, a portable unit demonstrates live vector rendering of a clock, Asteroids, the Chrome Dino game, and Doom.

#4 about 5 min

Rendering Doom levels with CSS 3D transforms and trigonometry

Extracting raw coordinates from Doom WAD files into CSS custom properties enables 3D wall and floor positioning using CSS trigonometry functions.

#5 about 2 min

Creating non-square floors using the CSS clip-path shape function

Complex polygon rooms and cutouts are rendered from square divs by applying the CSS shape function and evenodd clipping paths.

#6 about 4 min

Animating sector lighting and textures with @property and attributes

Registering custom properties as numbers via @property allows smooth CSS brightness filter animations alongside PNG textures loaded from data attributes.

#7 about 4 min

Simulating camera movement, sprite billboarding, and door transitions

Because CSS lacks a native camera, updating custom properties on the scene translates and rotates the entire world around the player while keeping sprites facing forward.

#8 about 4 min

Animating sprite sheets and projectiles with standalone translate properties

Stepped animations cycle through enemy sprite sheets, while standalone translate properties allow fireballs to fly across the room without overriding billboarding rotations.

#9 about 5 min

Smoothing weapon bobbing and aligning UI with anchor positioning

Toggling animation-play-state prevents jarring weapon resets when stopping, while CSS anchor positioning keeps the weapon aligned with a responsive status bar.

Matching moments

10:08 min

Rendering a functional game engine using experimental CSS transformations

Niels Leenheer +2 ยท LIVE

1:32 min

Simulating 3D retro screensavers using modern CSS

Marc Plogas Marc Plogas +2 ยท LIVE

2:44 min

Building an arcade game using only CSS and HTML

Elad Shechter ยท World Congress 2021

4:44 min

Exploring complex frontend experiments and retro game decompilation

Daniela Kubesch +2 ยท LIVE

3:00 min

Pushing CSS limits with 3D rendering and ray tracing

Grahamthedev +2 ยท LIVE

3:49 min

Learning modern programming techniques through hackable web games

Upcoming sessions on this topic

Starts in 6 days

Conference India 2026

November 25โ€“26, 2026

Bengaluru, India

Related videos

CSS is DOOMed

Niels Leenheer +2

LIVE ยท Apr 2026

Playing Games with CSS

Elad Shechter

World Congress ยท 2021

Is CSS Catching Up to Flash?

Bramus Van Damme +2

LIVE ยท Sep 2026

CSS or BS?

Keith Cirkel +2

LIVE ยท Apr 2026