Level 2.1 Triangle

Task
Draw a triangle starts with radius 90 by calling polarTriangle() function.

Code, Compile, Run
Type answer in the box below and run the code with Shift + Enter keys.

Hint
polarTriangle() is the function to draw a single triangle. Three parameters can be passed to the single drawing funciton by the following order: angle, radius, and distance (distance is an optional parameter).

For example:
(1) polarTriangle(0, 40, 0) draws a triangle starting with a radius of 40.


(2) polarTriangle(30, 40, 0) draws a triangle starting at angle 30, with a radius of 40.

(3) polarTriangle(30, 40, 40) draws a triangle starting at angle 30, with a radius of 40, and move 40 distance from center point.

Console
# Lv 2.1

# Lv 2.2

# Lv 2.3

# Lv 2.4