shitpost-generator
A Node.JS module to create images with overlays
Installation
npm install shitpost-generator
Example
npm run example
or node example
Check output in ./example/out/result.png
Points
- The image need points in which it will follow to draw on top of the background
- Each Box object have a
points
parameter which is an Array of arrays
For example, yellow, you need to provide X and Y of it:
yellowx yellowy redx redy // here you provide the rest of the points bluex bluey greenx greeny // for each point of the box
You can provide multiple boxes if your template needs more than one image
Templates
You can find templates in the ShitpostBot 5000's website, aswell as overlays.