Previous Up Next

11.8.1  Arbitrary triangles: triangle

The triangle command takes as arguments three points or a list of three points.

triangle returns and draws the triangle with the given vertices.
Input:

triangle(-1,i,1+i)

Output:


Previous Up Next