Capture SVG Animation is a tool to capture SVG animations as a sequence of images using Puppeteer.
-
Clone this repository: ```bash git clone https://github.com/dabruhce/capturesvganimation.git ```
-
Install the required dependencies: ```bash cd capturesvganimation npm install ```
-
Modify the
app.js
file to specify the options for capturing the SVG animation. -
Run the
captureAnimation
function in thetest.js
file: ```bash npm start ``` -
To delete and recreate the
artifacts
directory, run the following command: ```bash npm run reset ```
This project is licensed under the MIT License.