Image upload

Create a file, and drag the image into that file.

1000015136.png

1000015137.png

Let the image show on my sketch.

1000015138.png

I reduced my image.

1000015139.png

Then I use for loop let it all show on my sketch.

1000015140.png

I want my rose to appear on the screen with the movement of my mouse. It's like a brush made of roses. But I met a problem.

1000015141.png

I thought it was because some problems of my loop, so I changed a little bit, but it doesn't work. So I checked my code with Chat-GPT. He helped me fix the problem, but I still can't understand why.

1000015145.png

After the problem fixed, It looks like this.

1000015146.png

I didn't want it to always randomly travel roses, so I put the class rose outside of the setup draw.

1000015142.png

I adjusted their dispersion and their size. It ends up like this.

1000015144.png