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

273
Vistas
How do I save Canvas animations created in Frontend in Node.js Backend?

Here is what I have tried:

I used a library called Konva.js to create animations in the Frontend.

Animations include Text, Image, Shapes etc

Everything works fine in Frontend.

I want to make change text and render 1000s of videos in the backend.

I’m not sure whether Konva.js library is the right approach. I was able to run Text animations and save them in the Backend using an approach which converts frames to video.

However, I'm not able to do Text animations with Video as Background in the Canvas.

More details - https://leanylabs.com/blog/node-videos-konva/

I’m aware of the concept where I can render videos in the backend using headless browsers like Phantom or Pupeteer.

That would mean too much compute resource when deploying it at scale, is there any other good approach?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

If scalibility is the main concern, than the best solution is that you save animation (Say text, times and customizations) in DB. And instead of video you instead return this Animation files back to be re-rendered in output (Canvas).

It will save space, will be scalable and lighter to the network. GUI can alwasy switch between when to display animation and wen to play a real video.

Regarding approach of rendering 1000s of customizable video, it will alwasy be resource intensive in all respect, unless you design a specific rendering engine for a specific task.

over 4 years ago · Santiago Trujillo Denunciar
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