I’d like to render images from a P5 script, for preview thumbnails. Has someone got advice on that?
The node-canvas library would seem to be a good fit for this, but not sure how p5 deals with things like the event loop - calling the
setup() is a bit more than just a single call to canvas render.
Does anyone have an example?
I saw this