this post was submitted on 11 Oct 2024
38 points (97.5% liked)

Open Source

31685 readers
453 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-pipes

This program written in the C language will render random coloured zigzag lines in the terminal, while the font, speed, density and number of lines are fully customizable.

c-pipes.png

Each line stops once it reaches the edge of the window, only for a new line to begin.

This program was inspired by this bash script:

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

Screenshots:

https://gitlab.com/christosangel/c-pipes/-/raw/main/images/c-pipes.png

https://gitlab.com/christosangel/c-pipes/-/raw/main/images/c-pipes2.png

https://gitlab.com/christosangel/c-pipes/-/raw/main/images/c-pipes3.png

https://gitlab.com/christosangel/c-pipes/-/raw/main/images/c-pipes4.png

Feel free to discover the endless possibilities of customization.

top 2 comments
sorted by: hot top controversial new old
[โ€“] xoggy@programming.dev 2 points 1 month ago (1 children)

Haven't used the original but I do enjoy letting pipes-rs run on idle terminals.

[โ€“] christos@lemmy.world 1 points 1 month ago

I haven't used the rust version, but, with a glance, pretty much the rust replica as well as the c clone I wrote lead to more or less the same outcome as the bash original script. A mesmerizing effect.