5 ms·
ASCII Art: Real-Time ASCII Art Rendering Library
- illicium 9y agoCheck out libcaca[1], a image-to-ASCII library that already available as a mplayer and VLC output. There's also a demoscene competition where entries can only use text-mode art, TMDC [2] [1] https://en.wikipedia.org/wiki/Libcaca https://en.wikipedia.org/wiki/Libcaca [2] http://tmdc.scene.org/ http://tmdc.scene.org/
- ben174 9y agoWow, ascii + demo scene. Two of my favorite things and I never knew the combo existed! https://www.youtube.com/watch?v=c5kPMdYIbvI https://www.youtube.com/watch?v=c5kPMdYIbvI
- khedoros1 9y agoYou might've posted a different video than you thought. At least, there's no ascii art (or video) in that at all.
- rosbrith 9y agoI remember this one being bundled on the cover CD of one of the Amiga mags 20 years ago. Watching it blew me away at the time :) Pouet: http://www.pouet.net/prod.php?which=14015 http://www.pouet.net/prod.php?which=14015 Youtube: https://www.youtube.com/watch?v=zmly5dpEpvc https://www.youtube.com/watch?v=zmly5dpEpvc
- ben174 9y agoAlso aalib. Cool demos such as aafire. https://en.wikipedia.org/wiki/AAlib https://en.wikipedia.org/wiki/AAlib
- mrighele 9y agoffmpeg and mplayer support aalib and/or libcaca, so you can watch your favorite movie in ascii art, if you wish so (you can find lot of examples on youtube, though I couldn't fine one worth sharing)
- symisc_devel 9y agoYou can test the rendering on your browser using the live demo at: https://art.pixlab.io https://art.pixlab.io
- slavik81 9y agoIs there a good way to display these in a terminal? The result is a little ugly because it ends up vertically stretched.
- khedoros1 9y agoI'm sure there's a cleaner way to do this, but this'll take input in the form of the "stretched" ASCII art and double up the characters. My fixed-width font is half as wide as tall, so it works out. To read from a file "filename": print("".join([a+a for a in open("filename").read()]).replace('\n\n','\n')) To read from stdin: import sys print("".join([a+a for a in sys.stdin.read()]).replace('\n\n','\n'))
- daleroberts 9y agoA simple lookup table also works well. Here I use Unicode 9.0 and True Color support to render images as text using Python: https://github.com/daleroberts/tv https://github.com/daleroberts/tv
- kadal 9y agoIs there one that can do matrix digital rain like effects?