How can I replace my cursor with a circle instead of drawing it to canvas in p5.js?
问题 The problem: I'm trying to create a simple drawing app using p5.js. Instead of the standard cursor image, I'd like to show a circle at my cursor location that represents the size of the drawing brush. Potential solution 1: Replace the cursor using the cursor() function native to p5. Why it doesn't work: The p5 cursor function only takes the following parameters: ARROW, CROSS, HAND, MOVE, TEXT, or WAIT, or path for image As such, there's no native way to replace the cursor using the ellipse