Server-Side, data-driven animation & video rendering with nodejs.

Civan Özseyhan - Jul 19 '19 - - Dev Community

In this demo, we created a nodejs application generating weather forecast videos on-the-fly.

The dynamic weather data is loaded as JSON and presented on web canvas with animations. Using the node-canvas library and ffmpeg, the same canvas animation is rendered on server and exported as an mp4 video file.

Edit on 31 Aug 2020:

The demo is now a fully working nodejs library. You can check it out from: https://github.com/pankod/canvas2video

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .