p5.js | point() Function
The point() function is an inbuilt function in p5.js which is used to draw the point in a given coordinate position.
point( x, y, [z])
Parameters: This function accept three parameters which are described below
- x: It is used to set the x-coordinate of point.
- y: It is used to set the y-coordinate of point.
- z: It is used to set the z-coordinate in WebGL mode.
Online editor: https://editor.p5js.org/
Environment Setup: https://www.geeksforgeeks.org/p5-js-soundfile-object-installation-and-methods/