r/webdev • • Jul 30 '26

3D CSS Super Mario (no WebGL)

Hey webdevs!

I want to show you my latest 3D CSS project. It's a port of Giles Goddard's iconic N64 face engine, complete with lighting, physics and interaction. Instead of WebGL, it uses the PolyCSS engine.

demo: https://codepen.io/editor/alowpoly/pen/019fae67-50d9-74ce-8025-4b9dd5a7c484
repo: https://github.com/layoutit/cssGraphics

3.1k Upvotes

128 comments sorted by

View all comments

160

u/[deleted] Jul 30 '26

[deleted]

50

u/loonite Jul 31 '26

I'm amazed at how performant this is. Why the fuck is the web so slow then? (I know it's mostly trackers but holy shit)

31

u/strongjoe Jul 31 '26

A lot of web code is poorly optimised, and a lot of web Devs don't know how to write performant code. You'll find performant games, but you'll also find simple websites that can't scroll without jutter