Link:
https://drive.google.com/drive/u/2/folders/1WlbMXmyzNrlS7Owq1A7-F_jErOF4gkRM
Starfields are one of my favourite pixel animations.
Hugo Elias once wrote a wonderful write-up tutorial about the intricacies of coding star field animations that should not fall into oblivion.
My implementation in C with SDL2:
https://github.com/velorek1/starfield
In my last project in C I wanted to compile everything I've learned with graphical text interfaces and create a retro-looking periodic table that looks nice :)
Though not my best or cleanest code, it is intended to be used as a "demo" for the Lynx TUI. Is is also made with a lot of love.
The explanation of all the modules below:
(Increasing in order of abstraction until you reach main.c)
LEVEL 0: (BASE)
LEVEL 1: (LOW LEVEL ABSTRACTIONS)
LEVEL 2: (HIGH LEVEL ABSTRACTIONS)
main.c: Main program elements.dat: Database of elements, most of the info generated with chatGPT.
(1) http://oldstuff286.blogspot.com/2017/09/a-very-simple-screen-double-buffer.html
(2) http://oldstuff286.blogspot.com/2018/07/segmentation-fault-c-pointers.html
Inspired by the popular game, I set about coding my own version for the terminal. :)
This is the first playable version: https://github.com/velorek1/cwordle
It is only one file with code plus the dictionary files that can be changed or adapted as they are just regular text files.
I think it looks retro and cool and it is worth sharing. One of my most popular programs so far. :)
Lynx compiles some of the ideas I have developed into a soon-to-be cross-platform library that makes it possible to develop fast TUI applications for terminals.
The following Demo features:
https://github.com/velorek1/lynx