https://editor.p5js.org/yk2308/sketches/y8oEu6MIw
Use p5.js to create an interaction sketch. We can press”↑” and “↓” to change the size of the figure. And the color changes every time we click. Also we can press “c” to draw circle and press “r” to draw rectangle.
Leave a Reply