4 ms·
ASCII cam – I made this using replit agent
- rohitghumare 2y agoYou can watch video for demo: https://x.com/ghumare64/status/1832737964754878673?s=19 https://x.com/ghumare64/status/1832737964754878673?s=19
- airstrike 2y agoCool project! You might want to title it "Show HN: ASCII cam" or something like that so that others know it's the creator who is posting it for people to learn about https://news.ycombinator.com/show https://news.ycombinator.com/show
- rohitghumare 2y agoI tried that only but missed adding to Show HN!!
- sim7c00 2y agovery cool! now i wanna cam in xterm :'D. very fun project! good job
- rohitghumare 2y agoThanks
- netsharc 2y agoWish-list: Matrix-style "code rain" Hopefully that's not a dated reference.
- mistercow 2y agoI'm kind of confused what's going on here. Typically, with this kind of thing, you convert the input image to black and white and then, for each pixel, choose the character whose average value most closely matches that pixel. Then you print out that character in a fixed color. The point is generally to convert the image into a format that would be able to display on a simple text-only output device, like a typewriter. But this seems to be varying the intensity of each character as well, which means you'd only be able to display the result on a full color display in the first place.
- smlavine 2y agoI was very coolstruck to discover that GStreamer has a built-in sink to output ASCII "video" to the terminal: https://gstreamer.freedesktop.org/documentation/aasink/aasink.html https://gstreamer.freedesktop.org/documentation/aasink/aasin...
- ErikBjare 2y agoVLC also has a mode for this, but it's annoyingly a fallback sometimes, and I can't figure out how to exit it without resorting to killing the process or closing the terminal.