↓ Skip to main content
  1. Posts/

Play Quake in Your Browser

··223 words·2 mins·

Quake in CSS: Modern Nostalgia 🎮
#

Can you imagine playing Quake, one of the most iconic games of the 90s, directly in your browser using HTML and CSS? Well, cssQuake makes it happen. It’s an amazing project that demonstrates the power of transforming 3D rendering into web elements.

Using PolyCSS, this project converts Quake’s renderer into inspectable HTML and CSS components. You can study every detail of the game directly from your browser’s developer tools.

💡 Explanation in a nutshell
#

Quake is a classic 3D video game. Porting it to a browser seems nearly impossible… yet cssQuake achieves it using an ingenious strategy: it renders the game as HTML and CSS that you can inspect.

PolyCSS is the key technology here. It allows complex 3D rendering calculations to be translated into CSS styles. This opens up a world of possibilities:

  • Maximum compatibility: Works in any modern browser.
  • Inspect the code: Understand how it works by examining the CSS directly.
  • Web performance: Optimized for browsers, no plugins needed.

It’s a perfect example of how creativity in programming can bring legacy technology to new mediums.

More information at the link 👇

Also published on LinkedIn.
Juan Pedro Bretti Mandarano
Author
Juan Pedro Bretti Mandarano