Show HN: I recreated 90s Mode X demoscene effects in JavaScript and Canvas

After 25 years of writing software, I was feeling nostalgic for the kinds of things that got me into programming in the first place: the old DOS demoscene. I spent a weekend seeing if I could recapture some of that INT 13H VGA magic using today's web tech, but with the old-school constraints of doing it from scratch.

The result is this portfolio of ten classic effects running in a single HTML file. It's all vanilla JavaScript writing to a

element, with no external libraries. It was a fun challenge to implement things like:

* The color palette cycling and smooth fading in the Plasma demo. * The buffer-averaging algorithm for the Fire effect to make the flames feel more natural. * The distance-based texture crossfading in the Tunnel to create the illusion of flying through different sections. * A 2D scalar field for the Metaballs to calculate the surface normals for that classic blended, metallic look (I did the best I could with the given constraints).

It was a great exercise in getting back to first principles and a reminder of how much those early demo programmers could accomplish with so little. I hope it brings back some good memories for others who grew up with this stuff.

I'd love to hear about your favorite classic demos or if there are any other iconic effects you think would be a fun challenge to add.

Cheers!


Comments URL: https://news.ycombinator.com/item?id=44295667

Points: 78

# Comments: 20

https://jdfio.com/pages-output/demos/x-mode/

Creato 22d | 17 giu 2025, 07:20:09


Accedi per aggiungere un commento

Altri post in questo gruppo

Show HN: I built a tool to solve window management

Hello, my name is Andrew. I'm an indie developer and I'm excited to release Smart Switcher for Windows 10/11. I'm looking for feedback on the overall project and the application itself.

I built

8 lug 2025, 17:50:31 | Hacker news
Show HN: Sumble – knowledge graph for GTM data – query tech stack, key projects

I’m Anthony, co-founder/CEO of Sumble. I was previously co-founder/CEO of Kaggle. Sumble is my newco with Ben Hamner (former co-founder and CTO of Kaggle).

### What we built

Sumble is a knowle

8 lug 2025, 17:50:30 | Hacker news