You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Bad Apple [UCC2]

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

0
b/PC, Mac & Vintage Computers publicado por u/Yuki September 14, 2017, 11:05:16 PM
I realized yesterday I could fit a 32x32 monochrome picture using Braille characters on Twitter. So of course, we're gonna abuse this.



And just now, I wrote some program that shows a movie using Braille characters in Javascript in less than 25 lines of code.

Oh, and you know what nice video could be used to test it?

Yeah. This one.


http://www.nicovideo.jp/watch/sm8628149

So you see where I'm going?

Me neither.

Stay tuned.
Last Edit: September 14, 2017, 11:22:02 PM by Juju
Inicia sesión o crea una cuenta para dejar un comentario
u/_iPhoenix_ September 14, 2017, 11:06:31 PM
Quote from: Juju on September 14, 2017, 11:05:16 PM
I realized yesterday I could fit a 32x32 monochrome picture using Braille characters on Twitter. So of course, we're gonna abuse this.

<blockquote class="twitter-tweet" data-partner="tweetdeck"><p lang="en" dir="ltr">So we can fit some 32x32 monochrome icons within Twitter&#39;s character limit. Nice. Gonna abuse this. https://t.co/fHDfiSxoi1</p>&mdash; Julien Yuki Savard (@juju2143) September 14, 2017


And just now, I wrote some program that shows a movie using Braille characters in Javascript in less than 25 lines of code.

So you see where I'm going?

Me neither.

Stay tuned.

I have no clue what the heck is in that post but I like it.
u/Yuki September 15, 2017, 01:53:52 AM
Some examples:



⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⠻⡿⠿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⡦⡀⠊⠻⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⡦⡃⠠⡆⣾⣿⣿⣿⣿
⣿⣿⡿⠿⡿⡿⡿⡯⡎⠀⠀⠊⠛⠛⠛⡿
⣿⣿⣿⣷⣶⣦⣶⣦⣠⡄⡠⣦⣀⡀⡀⡀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
u/_iPhoenix_ September 15, 2017, 11:33:21 AM
Oh wow that's cool.
u/Jarren Long September 15, 2017, 03:05:21 PM
Wowee, yeah it is! I didn't know Javascript had that kind of power behind it.
u/Yuki September 15, 2017, 05:10:19 PM
To be fair, I used ffmpeg to convert the movie to a special format my script wouldn't have a lot of problems to understand. Still, most of the process is inside one line of code I forgot how it works immediately after I wrote it.

Thinking of that, I might be able to add colors. (EDIT: Wait, no, that's stupid with braille characters.)
Last Edit: September 15, 2017, 05:27:43 PM by Juju
u/_iPhoenix_ September 16, 2017, 12:39:06 AM
Braille with colors is only stupid for the people who need it.

I really don't think anyone who needs it is going to be caring...

Edit: you should make it translate gifs, and do a :walrii: animation in "your Braille thing" :)

Might be cool, might not. Who knows?!
Last Edit: September 16, 2017, 12:43:09 AM by _iPhoenix_
u/Yuki September 16, 2017, 12:45:52 AM
it now plays youtube videos

⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡪⡪
⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡮⣮⡦⡮⡮⡪⡢⡪⡪⡪⡢⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡢⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡪⡪⡫⡪⡊⡂
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡮⡯⡯⣯⡮⡯⡯⣯⡯⣯⡮⡮⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡢⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡢⡊⡢
⡪⡪⡪⡢⡪⡪⡪⡢⡪⡮⡯⡯⣿⡿⣯⡯⣯⡿⣯⡿⣯⡿⣯⡮⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡊⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡢⡊⡂⡊⡢⡊⡂
⡪⡪⡪⡪⡪⡪⡪⡪⡪⡮⡯⡫⡋⡫⡫⡿⡿⡿⡯⡯⡫⡪⡫⡯⡫⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡪⡢⡪⠊⡊⠂⠂⠂⡈⠂⠊⠂⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡊⡢⡊⡂⡊⡢
⡪⡪⡪⡢⡪⡪⡪⡢⡫⡮⡯⡢⡊⡢⡊⡢⡪⡪⡊⡢⡪⡢⡪⡯⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⠂⡀⠀⠀⠀⡀⠀⡀⠀⡀⠀⡀⠢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡢⡊⡂⡊⡢⡊⡂
⡪⡢⡪⡪⡪⡢⡪⡪⡪⡮⡫⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡯⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡮⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡪⡪⡪⡪⡢⡪⡪⡪⡪⡪⡢⡂⠀⡀⠀⡀⠀⠀⠀⡀⠀⡀⡀⡀⡂⡪⡢⡪⡢⡪⡦⡪⡢⡊⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡊⡢⡊⡢⡊⡂⡊⡂
⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡊⡢⡪⡪⡫⡪⡫⡮⡪⡮⡯⡮⡪⡯⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⣯⡿⡯⡯⡯⡿⣯⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡪⡪⡂⡂⡂⡀⡀⡀⡢⡂⡂⡊⡂⡂⡂⡊⡢⡪⡢⡪⡪⡫⡪⡫⡢⡊⡢⡊⡢⡊⡂⡊⡢⡊⡢⡊⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡊⡢⡊⡂⡊⡂⡂⡂
⡪⡢⡪⡪⡪⡢⡪⡢⡪⡢⡪⡢⡪⡪⡫⡪⡪⡪⡫⡮⡫⡪⡫⡢⡪⡢⡪⡪⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡊⡢⡪⡊⡋⡂⡊⡊⡊⡪⡊⡫⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡂⡊⡂⡊⡂⡂⡂⡂⡂⡊⡢⡪⡪⡫⡢⡊⡢⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡂⡊⡂⡊⡂⡂⡂⡂⠂
⡪⡪⡪⡢⡪⡪⡪⡢⡪⡢⡊⡢⡪⡪⡪⡢⡪⡢⡪⡪⡫⡮⡪⡢⡪⡢⡊⡢⡊⡢⡊⡢⡪⡢⡊⡢⡪⡪⡊⡢⡊⡢⡪⡢⡪⡪⡪⡢⡪⡪⡪⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡊⡢⡪⡢⡪⡢⡪⡪⡊⡢⡪⡢⡪⡢⡪⡢⡪⡢⡪⡮⡪⡪⡯⡮⣯⡢⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡂⡂⡂⡂⡂⡂
⡪⡢⡪⡢⡊⡢⡊⡢⡪⡮⡊⡢⡪⡮⡫⡪⡪⡮⡯⡮⡯⡪⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡊⡮⡋⡢⡪⡪⡫⡪⡊⡪⡫⡮⡪⡪⡊⡢⡊⡢⡊⡢⡊⡢⡊⡢⡊⡪⡫⡪⡋⡪⡊⡢⡊⡪⡫⡮⡫⡮⡫⡪⣫⡮⣯⡯⣯⡯⡯⡯⡯⡦⡮⡂⡂⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡂⡂⡂⡂⡂⡂⡂⡂⡂⡂
⡊⡢⡊⡢⡪⡪⡮⡪⣯⡯⣯⡮⡪⡪⡪⡢⡪⡪⡫⡮⡯⡢⡊⡂⡊⡢⡊⡂⡊⡂⡂⡂⡊⡂⡂⡂⡊⡂⡊⡂⡊⡪⡋⡂⡊⡢⡂⡢⡢⡢⡊⡂⡊⡪⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡊⡂⡊⡢⡊⡪⡫⡮⡫⡮⡯⡫⡋⡫⡫⡫⡋⡂⡊⠂⡊⡯⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡂⡂⡊⡂⡂⡂⡊⡂⡂⡂⡊⡢⡊⡂
⣯⡯⡯⡮⡯⡮⡫⡮⡫⡯⣯⡯⡫⡪⡪⡪⡪⡪⡫⡮⣯⡪⡯⡮⡯⡦⡮⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡪⡂⡊⡢⡊⡪⡪⡪⡊⡪⡪⡪⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡪⡯⡢⡊⡢⡊⡢⡪⡢⡪⡢⡊⡢⡪⡮⡯⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡂⡂⡊⡂⡂⡂⡊⡂⡊⡂⡊⠂
⣿⡿⣯⡧⡪⡯⡫⡮⡯⡪⣯⡯⣯⡯⣮⡪⣯⡮⣯⡮⣿⡦⡯⡮⡯⡪⣫⡯⡯⡯⡮⡢⡊⡢⡊⡂⡊⡂⡊⡂⡊⡢⡪⡢⡊⡢⡊⡪⡫⡪⡫⡢⡪⡢⡪⡢⡊⡂⡊⡂⡊⠂⡂⡂⡂⡢⡊⡢⡪⡢⡊⡂⡊⡢⡊⡂⡊⡪⡫⡢⡪⡢⡪⡢⡪⡢⡊⡢⡪⡪⡪⡪⡯⡦⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡂⡂⡊⡂⡂⡂⡊⡂⡂⡢⡊⡢⡂⡂
⣯⡿⣯⡯⡪⡯⡫⡯⣯⡮⡫⡿⣯⡯⣯⡿⣯⡯⣯⡿⣿⡦⡯⡯⡫⡂⣯⡯⣯⡯⣯⡮⡯⡢⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡪⡢⡪⡢⡪⡢⡪⡪⡪⡢⡊⡢⡊⡂⡊⡢⡂⡢⡊⡢⡪⡢⡪⡢⡊⡢⡊⡢⡊⡂⡊⠂⡂⠂⡊⡪⡪⡪⡪⡮⡪⡪⡯⡮⡯⡮⡯⡪⡪⡯⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡢⡪⡂⡊⡂
⣯⡿⣯⡯⡪⡯⡪⡪⡯⡯⡯⡪⣯⡿⣯⡯⣯⡿⣯⡯⡯⡪⣯⡯⡯⡮⣫⡯⣯⡯⣯⡯⣯⡦⡂⡂⡊⡂⡊⡂⡊⡢⡊⡢⡪⡪⡪⡮⡯⡮⡫⡪⡪⡪⡪⡢⡪⡢⡂⡢⡊⡢⡊⡢⡊⡢⡊⡢⡪⡪⡊⠂⡊⠂⡀⠂⡂⠂⡊⡪⡫⡪⡫⡪⡊⡪⡋⡪⡫⡪⡫⡪⡪⡧⡪⡂⡊⡂⡂⡂⡊⡂⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡢⡊⡂⡊⡂⡊⡂⡪⡂⡊⡂
⡫⡯⡫⡪⡪⡪⡫⡪⡫⡯⣯⡯⡫⡪⡯⡿⣯⡿⡯⡪⡪⡮⣯⡯⡯⡮⡯⡿⣯⡿⣯⡯⣯⡦⡂⡂⡂⡂⡂⡢⡊⡢⡮⡦⡪⡪⡫⡪⡪⡮⡯⡮⡫⡢⡪⡢⡪⡢⡪⡢⡊⡢⡊⡢⡊⠂⡀⠀⡀⠀⠀⠀⡀⠀⠀⠀⡀⠀⠊⡪⡪⡢⡪⡢⡪⡢⡪⡮⡪⡢⡪⡪⡪⡪⡋⠂⡀⠂⡂⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡂⠂
⡫⡪⡪⡢⡪⡪⡪⡪⣯⡯⣯⡯⡯⡢⡫⡯⡯⡫⡪⡪⣯⡿⣯⡯⡯⡯⣯⡿⣿⡿⣯⡯⣯⡯⡂⡂⡪⡢⡮⡮⡫⡯⣯⡮⡯⡮⣪⡮⣯⡯⣯⡮⣯⡮⡫⡮⡮⡦⡪⡢⡪⡢⡊⡂⡂⠂⡀⠀⠀⠀⡀⠀⠀⠀⡀⠀⠀⠀⡀⡢⡫⡪⡊⡪⡫⡪⡪⡪⡫⡮⡫⡪⡫⡪⡂⡀⡀⡂⡀⠂⡊⠂⡂⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⡂⡊⠂⡂⡢⡪⡢⡪⡢⡮⡦⡂⡂
⡊⡢⡪⡢⡪⡪⡪⡪⣯⡯⣯⡯⡯⡮⡯⡪⡫⡮⡯⡮⣯⡯⣯⡯⡯⡮⣯⡿⣯⡿⣯⡯⣯⡯⡯⡯⡯⡪⡫⡮⡊⡯⣯⡿⣯⡿⣯⡿⣿⡿⣯⡿⣯⡯⡪⡮⡫⡪⣯⡮⣮⡦⡊⠂⡀⠀⠀⠀⡀⠀⡀⡀⡀⡀⡀⡀⡀⡢⡠⡦⡪⡪⡫⡮⡫⡯⡫⡮⡫⡪⡫⡪⡪⡪⡯⡮⡫⡮⡯⡮⡮⡦⡮⡦⡢⡂⡊⠂⡂⡂⡂⡂⡀⡀⡀⠀⡀⡢⡪⡮⡫⡮⡯⡯⡫⡯⡂⠂
⡪⡢⡪⡪⡫⡮⡪⡪⣯⡿⣯⡯⡯⡮⡯⡪⡫⡮⡯⡮⣯⡿⣯⡯⡯⡮⣯⡿⣿⡿⣯⡯⣯⡯⣯⡯⡫⡢⡪⡮⡫⡪⣯⡯⣿⡿⣯⡿⣿⡿⣯⡯⡯⡯⣮⡯⡫⡪⣯⡯⣯⡯⣯⡦⡢⡦⡢⡦⡪⡮⡪⡮⡫⡮⡫⡪⡫⡮⡫⡮⡫⡮⡫⡪⡫⡪⡫⡪⡫⡪⡪⡢⡫⡪⡫⡢⡫⡪⡋⡊⡋⡊⡋⡪⡪⡢⡂⡢⡪⡦⡪⡢⡪⡢⡢⡢⡪⡮⡫⡮⡫⡪⡫⡪⡫⡪⡂⡂
⡪⡪⡫⡮⡫⡮⡯⡮⣯⡯⣯⡿⣯⡪⡯⡪⣯⡯⡯⡮⣯⡯⣯⡯⡯⡮⣯⡿⣯⡿⣯⡯⣯⡯⡯⡯⡪⡢⡪⡪⡫⡮⡯⡫⣯⡿⣯⡿⣯⡿⣯⡯⡫⡮⣯⡯⡯⡮⣯⡿⣯⡿⣯⡯⡫⡮⡫⡮⡫⡮⡯⡮⡫⡮⡯⡮⡯⡮⡯⡮⡯⡮⡫⡪⡪⡢⡪⡮⡪⡮⡫⡪⡪⡪⡫⡮⡊⡪⡮⡦⡪⡢⡪⡢⡪⡢⡪⡢⡊⡊⡋⡪⡫⡮⡫⡮⡫⡪⡫⡪⡪⡪⡫⡪⡪⡪⡊⠂
⡯⡮⡫⡮⡯⡯⡯⡦⣿⡿⣯⡯⡯⡪⣯⡪⡯⡯⣯⡮⣿⡿⣯⡯⡯⡮⣯⡯⣿⡿⣯⡯⣯⡯⡯⡪⡪⡢⡪⡪⡫⡮⣯⡮⡫⡿⣯⡯⣯⡯⡯⡫⣮⡿⣯⡯⡯⡮⣯⡿⣯⡿⣯⡯⡯⡮⡫⡪⡫⡮⡫⡪⡫⡪⡋⡪⡫⡪⡫⡮⡯⡮⣯⡮⣯⡮⣯⡮⡯⡯⣯⡮⡯⡮⣯⡮⡫⡪⡯⡮⡫⡢⡪⡮⣯⡦⡊⡊⡋⡪⡫⡮⡯⡮⣯⡯⡯⡮⡯⡮⡯⡮⡯⡮⡯⡮⡮⡂
⣯⡮⡫⡯⡯⡯⡯⡪⣯⡯⣯⡯⡯⡮⣯⡯⡯⡮⡯⡮⣫⡯⣯⡯⡯⡿⣯⡯⣿⡿⣿⡯⣯⡯⡯⡪⡪⡢⡪⡪⡫⡮⡯⡯⡯⡪⡫⡿⣯⡯⡫⡮⣯⡿⣯⡯⡯⡮⡫⡿⣯⡿⣿⡯⡂⡢⡀⡀⡀⠂⡊⡢⡊⡂⡊⡢⡊⡢⡫⡮⣮⡪⡫⡯⣯⡯⣯⡿⣯⡿⣯⡿⣯⡿⣯⡯⡪⡪⡯⡮⡪⡢⡫⡯⣯⡯⣯⡯⡫⡢⡪⡮⡫⡯⣯⡯⣯⡮⣯⡮⣯⡮⡯⡮⣯⡮⣯⡂
⣯⡿⣯⡦⡫⡯⡯⡪⣯⡿⣯⡯⡫⡮⣯⡿⣿⡯⣯⡯⡫⡿⣯⡯⡯⡿⣯⡯⣿⡿⣿⡯⣯⡿⡫⡂⡪⡪⡪⡪⡫⡯⣯⡯⡯⡮⣯⡮⣫⡮⡯⡮⣯⡿⣯⡯⣯⡯⣯⡯⣿⡿⣿⡯⣯⡿⣯⡦⡂⠀⡈⡢⡪⡢⡪⡢⡮⡮⡫⡮⣯⡯⡪⡊⡫⡯⣯⡯⣯⡿⣯⡯⣯⡿⡯⡪⡫⡮⣯⡮⡫⡢⡪⡯⣯⡿⣯⡯⣯⡯⡊⡢⡫⡿⡯⡮⡫⡫⡫⡯⡯⡯⡫⡮⡯⡯⡫⡂
⣯⡿⣯⡿⣯⡦⡫⡪⣯⡯⡯⡮⡪⡮⡯⡿⣯⡿⣯⡯⡯⡯⣯⡯⡫⡮⣿⡿⣿⣿⣿⡿⣯⡿⡫⡂⡪⡪⡫⡪⡫⡪⣯⡯⣯⡯⣯⡮⣯⡯⡯⡮⣯⡿⣯⡯⣯⡿⡯⡯⣿⡿⣿⡯⣯⡿⣯⡿⣯⡂⡀⠢⡪⡦⣯⡿⣯⡮⡫⡮⣫⡯⣯⡦⡊⡪⡫⡿⣯⡯⣯⡿⣯⡯⡯⡪⡮⡯⡯⡯⡯⡢⡊⡪⣯⡯⣯⡿⣯⡯⣯⡦⡊⡻⡯⡢⡂⡂⡪⡮⡫⡮⡯⡮⡯⡮⡂⡂
⣿⡿⣯⡿⣿⡿⣯⡮⡫⡯⡫⡮⣯⡮⡫⡮⡯⡮⡯⡯⣯⡮⡯⡯⣿⡿⣿⡿⣿⡿⣯⡯⡯⡯⡊⡢⡪⡪⡪⡪⡪⡾⣯⡿⣯⡯⣯⡮⣯⡿⣯⡮⣯⡿⣯⡯⣯⡯⣯⡾⣿⡿⣯⡯⣯⡿⣯⡿⣯⡦⡀⣢⣯⡯⣯⡯⣯⡯⡫⡮⡫⡯⣯⡯⣯⡦⡪⡪⡫⡯⣯⡯⡯⡯⡫⡪⣯⡯⣯⡯⡯⡮⡂⡪⣯⡿⣯⡯⣯⡿⣯⡮⡫⡢⡫⡂⡂⡢⡫⡯⡯⡯⡫⡪⡫⡮⡪⡢
⣯⡿⣿⡿⣯⣿⣿⡿⣯⡮⣯⡿⣯⡿⡯⡯⣯⡿⣯⡿⣯⡯⣯⡯⣿⡿⣿⡿⣿⡿⣯⡿⣯⡦⡪⡢⡪⡢⡪⡪⡪⡿⣯⡿⣯⡯⣯⡯⡯⡿⣯⡮⣯⡿⣿⡯⡯⡯⣯⡿⣿⡿⣯⡯⣯⡿⣯⡿⣯⡦⣪⡿⣯⡯⣯⡯⣯⡯⣯⡮⡯⡮⡯⡯⣯⡯⡯⡢⡪⡪⡫⡯⡫⡢⡪⡮⣯⡯⣯⡯⡯⡮⣯⡊⡊⡿⣯⡿⣯⡯⣯⡯⣯⡮⡪⡂⡂⡪⣯⡯⡫⡮⡫⡪⡫⡮⡫⡢
⣿⡿⣯⡿⣯⡿⣯⡿⡯⡯⣯⡿⣿⡿⡯⡿⣿⡿⣯⡯⣿⡿⣯⡯⣯⡿⣯⡿⣿⡿⣯⡿⣯⡮⡫⡪⡪⡢⡊⡢⡫⡿⣯⡿⣯⡯⣯⡿⣿⡯⡯⡮⣯⡿⣯⡯⡫⡮⣯⣿⣿⡿⣯⡯⡿⡿⡫⡫⡫⠫⣫⡿⣯⡿⣯⡯⣯⡿⣯⡯⡯⡮⣯⡯⣯⡿⡯⡮⡯⡮⡋⡊⡪⡮⡯⡮⡯⡿⣯⡯⡯⡪⣯⡯⣮⡮⣯⡿⣯⡿⣯⡯⣯⡯⡯⡂⡪⡯⣯⡯⡯⡯⣯⡮⡯⡮⡫⡪
⣯⡯⡯⡯⣯⡿⣯⡿⡯⡮⣯⡿⣯⡯⣫⡿⣯⡯⡯⡯⣯⡿⣯⡯⣯⡿⣿⡿⣿⡿⣿⡿⣯⡯⡯⡮⡫⡢⡪⡪⡫⡿⣿⡿⡯⣯⣯⡿⣿⡿⣿⡮⡯⡯⣯⡯⡮⡊⡯⡿⣿⡿⣿⡯⡂⡂⡂⠂⡂⡂⣫⡿⣯⡯⣯⡿⣯⡯⣯⡿⣯⡯⡯⡯⣯⡿⡯⡮⡫⡮⡫⡢⣯⡯⡫⡮⣯⡯⣯⡿⡯⡮⣯⡿⣯⡯⡯⡿⣯⡿⣯⡿⣯⡯⡯⡦⡪⡯⡯⡯⣯⡯⡯⡯⡯⡮⡯⡮
⣯⡯⡯⡮⣯⡿⣯⡯⡯⡿⣯⡯⡯⡯⣯⡯⣯⡯⡯⡾⣯⡿⣯⡪⣯⡿⣿⡯⡫⡿⡯⡿⡯⡯⡊⡪⡫⡪⡪⡮⣯⡯⣯⡯⣯⡿⣯⡿⣿⡿⣿⡿⣯⡿⡯⡮⡯⡪⣫⡿⣿⡿⣯⡯⡪⡢⡪⡢⡪⡢⣫⡿⣯⡿⣯⡯⣯⡿⣯⡯⣯⡯⡯⡯⣯⡿⣯⡯⡯⡯⡊⡪⣯⡯⡯⡮⡯⡯⣯⡯⡯⡮⡯⡯⣯⡯⣯⡿⣿⡿⣯⡯⣯⡯⣯⡯⡪⡯⡯⡯⡯⡯⡯⡯⡯⡮⡪⡯
⣯⡯⡫⡿⣯⡯⡯⡯⣯⡿⣯⡿⡯⡪⣯⡿⣯⡯⡯⡿⣯⡿⡯⡮⣯⡯⡯⡢⡊⡢⡊⡢⡊⡂⡊⡪⡪⡮⡯⡯⣯⡿⣯⡮⣯⡿⣿⡿⣿⡿⣿⡿⣯⡯⣯⡿⡯⡢⡪⡿⣿⡿⣿⡯⡯⡢⡪⡢⡪⡢⡫⡿⣯⡯⡯⡯⡯⡯⣯⡿⣯⡯⡯⡮⣯⡯⣯⡯⡯⡮⡯⡪⣯⡯⡯⡮⡯⡯⣯⡿⣯⡯⡯⡯⣯⡯⣯⡿⣿⡿⣯⡿⣯⡯⣯⡯⡫⡮⡯⡯⣯⡯⡯⡮⡯⡮⡯⡯
⡯⡯⣯⡯⣯⡯⣯⡮⣯⡿⣯⡯⡯⡪⣯⡿⣯⡿⡯⡯⣿⡿⡯⡮⣯⡿⡯⡢⡮⡢⡊⡂⡊⡢⡪⡪⡫⡯⡯⡮⣿⡿⣯⡯⣿⡿⣯⡿⣿⡿⣯⡿⣯⡿⣯⡯⡯⡢⡪⡾⣿⡿⣯⡯⡯⡢⡊⡢⡪⡢⡪⡮⣯⡯⣯⡯⡯⡿⣯⡯⣿⡿⡯⡮⣯⡿⣯⡯⡯⡮⣯⡪⣯⡿⣯⡮⡯⡯⣯⡯⣯⡯⡯⡮⣯⡿⣯⡿⣿⡿⣯⡯⣯⡿⣯⡯⡯⡮⣯⡯⣯⡯⡯⡮⡯⡯⡯⡮

also gifs don't forget gifs

⠀⡠⣊⡉⡢⠒⣄⠀⠀⠀⠀⠀
⢀⡷⡫⣾⡯⣢⣀⡏⣢⠀⠀⠀
⡞⢾⣯⡫⡻⡳⡫⡢⡊⣇⠀⠀
⡇⣸⡀⢸⡫⡪⡪⡢⡪⣺⠀⠀
⢇⡯⡇⡯⡺⡫⡚⡦⡪⡢⣳⠄
⢸⣣⠮⠚⠫⠮⢮⣪⡯⠟⠮⠗

⠀⢀⡔⠒⣄⠤⡀⠀⠀⠀⠀⠀
⠀⣧⡪⣷⡳⣄⡈⡶⣄⠀⠀⠀
⡼⣪⡻⡫⡫⡮⡪⡢⡊⣆⠀⠀
⡇⢸⡈⢻⡫⡪⡪⡢⡪⣺⠀⠀
⡇⡯⡆⡮⡞⡫⡻⡢⡪⡢⣣⠀
⣿⡪⠳⣯⣪⠮⠞⠮⠿⢦⣳⠄
Last Edit: September 16, 2017, 12:48:10 AM by Juju
u/Yuki September 16, 2017, 03:00:52 PM
u/Yuki October 18, 2017, 08:36:43 PM
Now that the contest is over, I'm going to paste the PM I sent to @_iPhoenix_ with my source code here. It's so simple.

1. Install Node.js and ffmpeg

2. Obtain a copy of either the Nico Nico Douga video with ID sm8628149 or a :walrii:

Code (sh) Select
youtube-dl -u <username> -p <password> http://www.nicovideo.jp/watch/sm8628149

3. Save this Javascript file as badapple.js

Code (JavaScript) Select
w=process.argv[2];h=process.argv[3];fps=30;
process.stdin.on('readable', () => {
  let c;
  while (null !== (c = process.stdin.read(w*h/8)))
  {
    let t=new Date(new Date().getTime()+1000/fps);
    let a="";
    a+=String.fromCharCode(27)+"[2J";
    for(let i=0; i<c.length; i++)
    {
      let x = 0x2800;
      for(let k=0;k<8;k++)x+=((c[Math.floor(i/(w/2))*(w/2)+Math.floor((i%(w/2))/4)+(Math.floor(k/2)*w/8)]>>((7-k%2)-(((i%(w/2))%4)*2)))&1)<<[0,3,1,4,2,5,6,7][k];
      a+=String.fromCharCode(x);
      if((i+1)%(w/2)==0)a+="\n";
    }
    process.stdout.write(a);
    while(t>new Date()){}
  }
});


4. Try to somehow make sense of line 12 and 14 (optional)

5. Resize your terminal to 256x97 and run this command

Code (sh) Select
ffmpeg -i 【東方】Bad\ Apple\!\! PV【影絵】-sm8628149.mp4 -loglevel quiet -vcodec rawvideo -f rawvideo -pix_fmt monow pipe:1 | node badapple.js 512 384

6. Have fun!
Start a Discussion

b/PC, Mac & Vintage Computers

Computer programming discussion and project showcase

132
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal