A JavaScript version of the original BFFrameAnimator
- Node 8.9.4+ (lower version untested) + NPM
- Latest version of Chrome or Firefox (works better and faster in Chrome)
- Clone the repository
- Run
npm install
in a terminal pointing to the directory of the repository
- Run
npm run start
in a terminal pointing to the directory of the repository
Server must be running in order for this to work- As of v2 (released December 2018), the script will attempt to start the server if it is not already running
- Edit the contents of
advanced-units-input.js
to generate the desired GIFs - Run the command
npm run generate-gifs
with any of the following parameters-g <directory>
, where directory is the folder that will hold all of the GIFs- defaults to
gifs
- defaults to
- For example
npm run generate-gifs -- -g gifs-sample
would generate GIFs for the units specified inadvanced-units-input.js
into thegifs-sample
folder.- The script will ignore any files already existing in the folder for easier resuming, so be sure to remove the relevant files you want to be regenerated