According to last week's homework, I changed the mousedrag to press the keyboard space for interaction. Every time I press the space, it generates a random rose. Added a function().
And then I want my roses to spread out around the screen and grow bigger. But I wrote r+=1 here, and my rose didn't get any bigger.
As soon as I realized I needed to make a change in the show, I multiplied the size of the rose by 50.
As a result, the initial size of the rose became huge, and then I divided the initial size of the rose by 25, and then reduced the previous change.
I wanted the rose to feel like it was disappearing, so I made it transparent slowly.
https://editor.p5js.org/yaoooo11/sketches/b6jCGzQsi
Then I was thinking about different ways of interacting. It suddenly occurred to me that there is a Chinese phrase called "spitting lotus", which is used to describe a person who is very literary. And then I wanted to control the rose with sound.