Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

271
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!