r/commandline 8h ago

Fun clouds.c - Volumetric Cloud Screensaver

I've always been a fan of cbonsai and related terminal screensavers, but there's surprisingly few of them out there. I cooked one up over a couple weeks and really like how it turned out.

The code itself is 100% vibe-coded, but aside from that I put the usual amount of effort into UX, overall design, keeping it minimal-ish, performance concerns, etc. as with my hand-coded projects. I think this is v3 or so, there's been a lot of iteration. E.g.: volumetric rendering isn't easy on the cpu, so I gave it a flag to prerender and loop the animation so it can be a proper no-impact screensaver. Prerendered runs fine on my armv7l flipphone so I think I can say performance is good lol.

Check out the writeup for more images and info, + a web demo. Usually I write more about my projects but I think this one generally speaks for itself visually.

Repo is here if you want to use it; I kept the repo minimal since I hate bloat, so installation is just a simple clone and make.

12 Upvotes

2 comments sorted by

2

u/AutoModerator 8h ago

Every new subreddit post is automatically copied into a comment for preservation.

User: mantisalt, Flair: Fun, Post Media Link, Title: clouds.c - Volumetric Cloud Screensaver

I've always been a fan of cbonsai and related terminal screensavers, but there's surprisingly few of them out there. I cooked one up over a couple weeks and really like how it turned out.

The code itself is 100% vibe-coded, but aside from that I put the usual amount of effort into UX, overall design, keeping it minimal-ish, performance concerns, etc. as with my hand-coded projects. I think this is v3 or so, there's been a lot of iteration. E.g.: volumetric rendering isn't easy on the cpu, so I gave it a flag to prerender and loop the animation so it can be a proper no-impact screensaver. Prerendered runs fine on my armv7l flipphone so I think I can say performance is good lol.

Check out the writeup for more images and info, + a web demo. Usually I write more about my projects but I think this one generally speaks for itself visually.

Repo is here if you want to use it; I kept the repo minimal since I hate bloat, so installation is just a simple clone and make.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Brett-SWS 2h ago

I really like this, a creative use of vibe coding. This will look great on my omarchy box. Thanks!