How to use event handler to click button for shape to draw or appear on the canvas

Hello ...(o_0)... I'm building an web base graph editor (existential) and I'm new to p5. I just want an example of How I would create an event handler that allows me to click a button and then a particular shape appears on my canvas. Just a basic example

Sign In or Register to comment.