My simplified and extended attempt at Andy Sloane's cute donut.
donut.mp4
- dependencies: ncursesw, xdotool
- steps:
- modify
zoom.h
to adjust zoom commands for your terminal (default is for out-of-box alacritty) - run
make
- move the built binary
donut
to one of your $PATH
- modify
- dependencies: a terminal emulator that supports emoji and MANY times of zoom out so that emojis can be morphed into pixels. It works at least in both out-of-box alacritty and unpatched st.
- use:
- run
donut
- zoom in or zoom out or resize the terminal to your liking
- q to quit
- run
- two opitons to zoom:
- press j to zoom out and k to zoom in: some delay (blank screen in the video) but no flickering
- directly zoom out or zoom in using your terminal commands: no delay but with discernible flickering
- non-emoji: patch
non-emoji.diff
in theirrelevant
folder if emoji is not needed - memory: when the terminal is zoomed out, the memory usage for alacritty increases while remains almost fixed for st; alacritty offers faster performance than st at certain 'tiny-font' levels.