Important
example command
git clone https://github.com/Szmelc-INC/Zen-Docs && cd Zen-Docsdesc 2
make && sudo make install && make cleanNote
Tip
Details on usage and available options
cdvd [-f fps] [-s speed] [-t decay_sec] [-L logo.txt] [--info] [--mask-edges|--mask-blanks]| Action | Key(s) |
|---|---|
| Toggle trail | t |
| Toggle info HUD | i |
| Speed ± | ← / → |
| FPS ± | ↑ / ↓ |
| Decay ± | y / u |
Important
You can change logo to anything you preffer before compilation, to bake it into binary, or with a -L flag in runtime
Make sure you have logo.txt with ASCII art before compiling \
With Makefile:
# make # build
# make run # run with nice defaults
# sudo make install # install to /bin/cdvd (override BINDIR/INSTALL_NAME)
# sudo make uninstall # remove installed binary
# make clean # clean artifactsAlternatively run bash compile.sh
Or manually:
Convert logo.txt to inc before compilation
xxd -i -n dvd_logo logo.txt > logo.incCompile
export LANG=en_US.UTF-8
gcc -O2 -Wall -Wextra -std=c11 dvd_ascii.c -lncursesw -lm -o dvdNote
- Provide your own ASCII/UTF‑8 art via
-L path/to/logo.txtat runtime.
⠀⠀⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣶⣦⡀ ⠀⢠⣿⣿⡿⠀⠀⠈⢹⣿⣿⡿⣿⣿⣇⠀⣠⣿⣿⠟⣽⣿⣿⠇⠀⠀⢹⣿⣿⣿ ⠀⢸⣿⣿⡇⠀⢀⣠⣾⣿⡿⠃⢹⣿⣿⣶⣿⡿⠋⢰⣿⣿⡿⠀⠀⣠⣼⣿⣿⠏ ⠀⣿⣿⣿⣿⣿⣿⠿⠟⠋⠁⠀⠀⢿⣿⣿⠏⠀⠀⢸⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣸⣟⣁⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣠⣴⣶⣾⣿⣿⣻⡟⣻⣿⢻⣿⡟⣛⢻⣿⡟⣛⣿⡿⣛⣛⢻⣿⣿⣶⣦⣄⡀⠀ ⠉⠛⠻⠿⠿⠿⠷⣼⣿⣿⣼⣿⣧⣭⣼⣿⣧⣭⣿⣿⣬⡭⠾⠿⠿⠿⠛⠉⠀
- Make sure your terminal font supports the characters you use.
Caution
DETAILS
- A POSIX‑y environment (Linux, BSD, macOS).
ncursesw,gcc/clang, andmake(if using the Makefile).- UTF‑8 locale (e.g.,
LANG=en_US.UTF-8).
- Terminal size affects bounce boundaries (resizing is handled on the fly).
- For best visuals, use a font with good box‑drawing / block character coverage.
- Also, Important to note is, this project was mostly just Vibe Coded with much help from an A.I assistant,
- while I took it as a learning opportunity with a project that does not neceaseaarly have to be fully understood right away and memory safe!