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.

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.

  • embed_me@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    21 hours ago

    Fair enough. For me, scripts are small reusable programs performing a very specific (sometimes trivial or common) task. Eg: making a wav file from PCM data, modifying byte sequences or formatted text in a particular way, etc. I mostly program in C so I have written most scripts in C. Need not necessarily be grokkable as long as its application and scope is clear

    • tetris11
      link
      fedilink
      arrow-up
      1
      ·
      20 hours ago

      Need not necessarily be grokkable as long as its application and scope is clear

      Well that’s a fair point.