p5.js noStroke() Function
The noStroke() function is an inbuilt function in p5.js which is used to remove the outline which is used to draw lines and borders around shapes. By default, black color stroke is set to shapes.
Parameters: This function does not accepts any parameter.
Below program illustrates the noStroke() function in P5.js:
rect(20, 20, 160, 160);