mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-23 19:47:05 -04:00
💾 Save All frames utils
This commit is contained in:
parent
27113e4e7a
commit
617f218719
2 changed files with 19 additions and 0 deletions
|
@ -11,6 +11,7 @@ import {
|
|||
animatedClip,
|
||||
} from "./config";
|
||||
import { matchImages } from "./utils/matchImages";
|
||||
import { saveFrames } from "./utils/saveFrames";
|
||||
|
||||
const main = async () => {
|
||||
const browser = await puppeteer.launch({
|
||||
|
@ -104,6 +105,8 @@ const main = async () => {
|
|||
index++;
|
||||
}
|
||||
|
||||
saveFrames({ fileName: svg, frames });
|
||||
|
||||
await page.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue