正在加载视频...

视频加载失败

Introducing Video2Ascii – a WebGL-powered React component that converts Videos to ASCII art. I came across the General Intuition website and loved their animations but there were no open-source React Components so I reverse engineered it.

199,995 次观看 • 10 个月前 •via X (Twitter)

41 条评论

Elijah Kurien 的头像
Elijah Kurien10 个月前

This component can be downloaded with `npm install video2ascii`. Check out the Github and feel free to give it a star ⭐

Elijah Kurien 的头像
Elijah Kurien10 个月前

It comes out of the box with additional features like mouse tracing, click effects, different character sets, modulating brightness by the sound in the video and more!

Elijah Kurien 的头像
Elijah Kurien10 个月前

The converter works by splitting the video into a grid then averaging the pixels in each cell to get a brightness level and color. Then, it maps it to a color and ASCII character. WebGL 2.0 offers mipmaps and better texture handling to speed up rendering.

Elijah Kurien 的头像
Elijah Kurien10 个月前

This currently only supports WebGL 2.0 devices but would love if someone could add support for more devices!

Elijah Kurien 的头像
Elijah Kurien10 个月前

Shoutout to @PimDeWitte and @gen_intuition for the inspiration to build this out

Elijah Kurien 的头像
Elijah Kurien10 个月前

@gen_intuition Check out some interactive examples on my website

Orbs 的头像
Orbs10 个月前

@gen_intuition pretty cool, I have a gif to ascii generator and I also coded my own html2ascii generator that saves the html image by taking a screenshot of it using html2canvas all written in Pike, with the site being html,css, & javascript here's an example of both the gif and pixel to ascii

Ben Vinegar 的头像
Ben Vinegar10 个月前

@gen_intuition nice

Marcin Ignac 的头像
Marcin Ignac10 个月前

@gen_intuition From the video above it looks like most videos need brightness and contrast bump. For best effects I would also add Posterize effect where you reduce number of colors for more solid areas that look better as letters.

Elijah Kurien 的头像
Elijah Kurien10 个月前

@gen_intuition The video doesn’t do it credit! The examples on my website look better but will take this feedback and put it in the next release!

Kingmakers Game 的头像
Kingmakers Game10 个月前

@gen_intuition Lol does this even count as ascii art? Just looks like pixels. If you remove the colors, is anything legible?

Aiden Bai 的头像
Aiden Bai10 个月前

@gen_intuition AND HE DOES IT AGAIN

Kevin Brace 的头像
Kevin Brace10 个月前

@gen_intuition I made a similar tool for gifs.

@dingchilling 的头像
@dingchilling10 个月前

@gen_intuition i made this too just a while ago @

Michał Pasternak 的头像
Michał Pasternak10 个月前

@gen_intuition That’s not ascii art, that’s ansi art.

Saïd Aitmbarek 的头像
Saïd Aitmbarek10 个月前

@gen_intuition wow, impressive effect love the vibe :-) dope you made this one oss let's launch you for fun on anytime btw

sankalp 的头像
sankalp10 个月前

@gen_intuition this is sick!

memory_prism 的头像
memory_prism10 个月前

I wrote a JavaScript thing that did this in like 2016. Wasn’t as cool as this. 1. I did not know what react was 2. You had to convert your videos with a python utility I wrote that turned them into massive json files. Besides those caveats it worked pretty well. You can see it on the archived version of I’ve got the code on GitHub too but it’s embarrassing 😂

Cosmic_dusτ 的头像
Cosmic_dusτ10 个月前

@gen_intuition @Im_zo_sol @12g8ge

Async 的头像
Async10 个月前

@gen_intuition Aight dope

Idan Zeidman 的头像
Idan Zeidman10 个月前

@gen_intuition Reverse-engineering vibes into oss components. that's the real dev flex.

ZiiX 的头像
ZiiX10 个月前

Cool. Creatively beautiful coding/work that expands on a nostalgic fidget-coding spinning pastime w a modern fun spin. This idea: output ASCII Art to multiple independent layers & we have hidden messages layered w breadth & 'depth' (reading into it pun intended) AND a 3D effect‽

AnarchistOwl 的头像
AnarchistOwl10 个月前

@gen_intuition Cool

BAD CHARACTER 的头像
BAD CHARACTER10 个月前

@gen_intuition Idk if I can Mickey Mouse a way to use this in square space I’m doing it 😭

Ali Shobeiri 的头像
Ali Shobeiri10 个月前

@gen_intuition This is sick very cool work

maxemitchell 的头像
maxemitchell10 个月前

@gen_intuition this is sick

Ihsan 的头像
Ihsan10 个月前

@gen_intuition 😱😱😱

Wes Johnson 的头像
Wes Johnson10 个月前

@gen_intuition um thank you I will put this to work immediately

W4R L0RD WILXI 的头像
W4R L0RD WILXI10 个月前

@gen_intuition This is insane bro

dilip 的头像
dilip10 个月前

@gen_intuition love this! ty for building and making it open source

shayaan 的头像
shayaan10 个月前

@gen_intuition this is sick!!

eran shir 的头像
eran shir10 个月前

@gen_intuition Immediately went to test it against our BADAS model, and it aced it! :)

Gami 💹 StockRip.com 的头像
Gami 💹 StockRip.com10 个月前

@gen_intuition so damn good

Fevra 的头像
Fevra10 个月前

@gen_intuition @tevoeatacid 👀

Cassidy Macfarlane 🇺🇦🇵🇸 的头像
Cassidy Macfarlane 🇺🇦🇵🇸10 个月前

@cyb3rops @gen_intuition VLC has done this for years.

Sen 的头像
Sen10 个月前

@gen_intuition THIS IS SO GOOD

John B. 的头像
John B.10 个月前

@gen_intuition I was doing this over ssh in the early 2000s. Buying like showing your friends acsii porn in school 😂😂😂

xavier 的头像
xavier10 个月前

@gen_intuition sickkkkkkkkkkk

Lewis Bowes 的头像
Lewis Bowes10 个月前

@gen_intuition this is cool

rajan agarwal 的头像
rajan agarwal10 个月前

@gen_intuition this is insanely tuff

Simon Tingle 的头像
Simon Tingle10 个月前

@gen_intuition In my ollama file manager I convert and play all videos in ascii art mode. I made it originally to help me add folders to git and create a markdown to describe my repo:

相关视频