Real-time ASCII art from images and videos.
renderer_demo.mp4
make && ./bin/ascii_renderer file.mp4
Requires ffmpeg and ffprobe for video playback.
ascii_renderer [options] <file>
-w <int> fixed width (default: terminal width)
-n no color
-b background color
-i invert brightness
-l loop video
make install puts it in ~/.local/bin.
- ASCII characters are not pixels: a deep dive into ASCII rendering. https://alexharri.com/blog/ascii-rendering
- Xuemiao Xu, Linling Zhang, and Tien-Tsin Wong. 2010. Structure-based ASCII art. ACM Trans. Graph. 29, 4, Article 52 (July 2010), 10 pages. https://doi.org/10.1145/1778765.1778789
- Y. Takeuchi, D. Takafuji, Y. Ito and K. Nakano. 2013. ASCII Art Generation Using the Local Exhaustive Search on the GPU. 2013 First International Symposium on Computing and Networking, Matsuyama, Japan, 2013, pp. 194-200. https://doi.org/10.1109/CANDAR.2013.35, open access: https://www.cs.hiroshima-u.ac.jp/cs/_media/ascii_art-final.pdf