Tip: To create a circle with arc(): Set start angle to 0 and end angle to 2*Math.PI. moveTo (75, 40); ctx. p5.js is a JavaScript library for creative coding, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can use font property (type : string) to specify a number of text setting such as style, weight, size, … Step 3: Draw on the Canvas The HTML