juancri / covid19-animation-generator

Generates an animation of COVID-19 data
MIT License
31 stars 8 forks source link
coronavirus coronavirus-analysis coronavirus-tracker coronavirus-tracking covid covid-19

COVID-19 Animation Generator

Node.js CI

Generates an animation based on COVID-19 daily data.

Sample

About

Requirements

Initialize

Build

Running

node dist/main

The data is downloaded automatically

Parameters

All parameters are optional.

Examples

Output

The generated images will be in the output directory

Generate animation

You can generate an animation (60 fps). Requires ffmpeg. Run:

npm run video

The video will be here: output/animation.mp4

If you used --outputDirectory to generate the images, you can pass the directory path to the video script as:

npm run video -- /tmp/some/temporary/directory