' Wise - pass one of the two contants provided:
' CLOCKWISE or COUNTERCLOCKWISE.
Sub Circle (x As Float, y As Float, r As Float, Wise As Int)
Turtle.SetX(x).SetY(y - r / 2)
If Wise = CLOCKWISE Then
Turtle.SetAngle(0)
Else
Turtle.SetAngle(180)
End If
Dim v As Float = (r * cPI) / 360
For i = 1 To 360
If Wise = CLOCKWISE Then
Turtle.MoveForward(v).TurnRight(1)
Else
Turtle.MoveForward(v).TurnRight(-1)
End If
Next
End Sub