We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I can load image or make it manually with p5 functionality, so what is better for performance ?
This is my code with manually created image :
Never actually tested such case. But my bet goes to 1 image over drawings. :-??
In case you've got drawings only, but want the supposed benefit of an image, you can createGraphics(), draw your stuff there.
Once your drawings are finished there, optionally if you prefer, you can invoke its method get() in order to clone it as a p5.Image.
Either way, you can now use image() in order to display your drawings over & over. :-bd
And w/ some luck, it's gonna pay off, and you'll get a better performance. \m/