this post was submitted on 09 Oct 2024
51 points (100.0% liked)

Open Source

31184 readers
251 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

https://gitlab.com/christosangel/c-squares

c-squares written in the C language will render random coloured rectangulars in the terminal, while the font, speed, density, color, ratio and number of the shapes drawn are fully costumizable.

Every time a rectangular is complete, a new one starts to take shape.

https://gitlab.com/christosangel/c-squares/-/raw/main/screenshots/1.png

https://gitlab.com/christosangel/c-squares/-/raw/main/screenshots/2.png

https://gitlab.com/christosangel/c-squares/-/raw/main/screenshots/3.png


Feel free to explore the endless variations.

top 7 comments
sorted by: hot top controversial new old
[–] christos@lemmy.world 6 points 1 month ago* (last edited 1 month ago)

c-squares was inspired by this bash script:

https://github.com/pipeseroni/pipes.sh

It also is a variation of another project of mine:

https://gitlab.com/christosangel/c-pipes

[–] jqubed@lemmy.world 5 points 1 month ago (1 children)

Like a screensaver for the terminal?

[–] christos@lemmy.world 1 points 1 month ago

More like something like eye candy, but it can also work like this.

[–] rand_alpha19@moist.catsweat.com 4 points 1 month ago (1 children)

Neat! I wonder how long it'll be before we see it in a screenshot on !unixporn@lemmy.ml.

[–] christos@lemmy.world 1 points 1 month ago

he he, a gif posted would look yummy I think...

[–] Jagger@lemmy.zip 3 points 1 month ago

Huh, interesting

[–] christos@lemmy.world 1 points 1 month ago