Question concerning p5.js

Hi all, I have a little problem using p5.js.
I uploaded a personal jpeg image to p5.js web editor and I will now like to add butterflies to it. Just a few butterflies to be flying/moving about the image that I uploaded. But I am unsuccessful in doing so. Can anyone assist me please:)

1 Like

Hi @salisha
You will have to upload an image in setup(). Then draw with image(“name”, 0, 0) in the draw() loop, the background image. In the following line you place the next butterfly drawing. Post some code to guide you more easily.

2 Likes