Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

118
Vistas
Need pure javascript solution instead of using HTML Style Tag for Fatest RGB Color ASCII video

I had a Problem to run Color ASCII video in JavaScript at fast speed because when i use HTML tag Style=Color: it slow down the ASCII video rendering speed and skipping color ASCII video frames. I saw many Video to ASCII scripts in JavaScript language But i see all Scripts using same HTML Style tag for Color RGB ASCII video output.

for example like This:

str += `<font style="color: rgb(${r}, ${g}, ${b})">${CharString}</font>`;

or like this

str += "<span style=\"color: rgb("+r+","+g+","+b+"); \">"+ CharString +"</span>";

But the problem is when i use HTML style tag for color ASCII video output, it slow down and ASCII video rendering due to put style=color: tag on every character of ASCII video.

So i am looking for a pure JavaScript solution/code for color ASCII output instead of using HTML Style tag, ....And after lot of searching i found this guy script using a image inverting algorithm / technique in there python script to run blazing fast color ASCII video. but unfortunately it is python script. i want same thing in JavaScript.

https://github.com/AlexEidt/ASCII-Video/blob/master/ascii.py

and Here in this video he also explain how he convert Grayscale to Blazing fast color ASCII video. i request you please must see the end part of video at-least after 6:00

https://youtu.be/SzqKClkCi_0

and for practicing you can use any video to ASCII script in JavaScript from GitHub or try this one. https://github.com/EnotionZ/jscii

i try my best to explain my problem, and i Hope you will understand it and try to solve above issue... Your Answer with JavaScript code example will be appreciated.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda