ar5

charTriangle()

Description

charTriangle() draws a triangle on the sketch. Analagous to triangle() in p5.

Syntax

charTriangle(x1, y1, x2, y2, x3, y3)

x1: X coordinate of first point

y1: Y coordinate of first point

x2: X coordinate of second point

y2: Y coordinate of second point

x3: X coordinate of third point

y3: Y coordinate of third point

Returns

Nothing