62
submitted 1 month ago* (last edited 1 month ago) by christos@lemmy.world to c/linux@lemmy.ml

cross-posted from: https://lemmy.world/post/20670854

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.

1.png

Click on image to play video


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.

you are viewing a single comment's thread
view the rest of the comments
[-] GustavoM@lemmy.world 7 points 1 month ago* (last edited 1 month ago)

Oh yeah? Then redo the classic doom code in pure bash.

[-] flashgnash@lemm.ee 11 points 1 month ago* (last edited 1 month ago)
#!/usr/env bash
~/doom-game/bin/doom
this post was submitted on 09 Oct 2024
62 points (94.3% liked)

Linux

48376 readers
1019 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS