Google News
logo
p5.js - Interview Questions
What is the triangle() Function in p5.js?
The triangle() function draws a triangle to the canvas. It has six required arguments: the x and y positions for each of the triangle’s three vertices.
Triangle
Advertisement