Skip to content

gsaple/donut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

donut

My simplified and extended attempt at Andy Sloane's cute donut.

donut.mp4

build for linux

  • dependencies: ncursesw, xdotool
  • steps:
    1. modify zoom.h to adjust zoom commands for your terminal (default is for out-of-box alacritty)
    2. run make
    3. move the built binary donut to one of your $PATH

usage

  • 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:
    1. run donut
    2. zoom in or zoom out or resize the terminal to your liking
    3. q to quit

other notes

  • two opitons to zoom:
    1. press j to zoom out and k to zoom in: some delay (blank screen in the video) but no flickering
    2. directly zoom out or zoom in using your terminal commands: no delay but with discernible flickering
  • non-emoji: patch non-emoji.diff in the irrelevant 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published