13.8.1 Arbitrary triangles in the plane: triangle
See Section 14.7.1 for the triangle command in
space.
The triangle command creates triangles.
-
triangle takes three arguments:
a,b,c, three points (which can be given as a list).
- triangle(a,b,c) returns and draws the triangle with
vertices a,b and c.
Example.
Input:
triangle(-1,i,1+i)
Output: