Function triangle

Draws one or more triangles