Progress on my curses-like terminal text editor for GNU/Linux systems. Programmed in C, with horizontal and vertical scrolling and animations. File buffer is vector of lines.
github.com/velorek1/C-edit #c #programming #retro #retrowave #assembler
"Our lives are not our own. From womb to tomb, we are bound to others." REPOSITORY
Progress on my curses-like terminal text editor for GNU/Linux systems. Programmed in C, with horizontal and vertical scrolling and animations. File buffer is vector of lines.
https://github.com/velorek1/C-edit #c #programming #retro #retrowave #assembler
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. :)