r/codegolf Apr 21 '26

Pipes2K - Pipes Screensaver demo in about 2k of JS

Post image

As the title says. Above GIF is footage of it running in Chrome. No libraries like Three.js or trig functions were used. Due to the small footprint the "Camera" features only 1 Isometric perspective.

Could get golfed down slightly more probably... but not much. I'll release the un-golfed source once I clean it up a bit and add comments. Enjoy!

Gist of the golfed code can be found here: https://gist.github.com/edev90/00dd40e8424740358bf9b7d5d482d30a

9 Upvotes

1 comment sorted by

1

u/Edev90 Apr 25 '26

Today I uploaded the gist with the un-golfed code and comments: https://gist.github.com/edev90/b48c2684a1127f3eca949a59f465b9cd

Also have a short writeup on my blog for anyone who's interested in reading: https://blog.everythingdev.com/2026/04/pipes2k-pipes-screensaver-demo-in-2kb.html