Загрузка видео...

Не удалось загрузить видео

На главную

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:

Похожие видео