This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Animated Gradient PFP Generator by taep96 | |
| // Instructions: | |
| // - put the original image in the same directory as this script and name it `original.png` | |
| // - set `canvas_size` to the desired size of the images in pixels | |
| // - set `ring_thickness` to the desired thickness of the ring in pixels | |
| // - run `bun install canvas` | |
| // - run `bun run `animated_gradient_pfp.ts` | |
| // - the images will be saved to `output/pfp-{000-360}.png` | |
| // - you can use ezgif.com, ffmpeg, or gifski to collect the images into a usable format |