<gh_stars>1-10
# set stroke color to black
stroke(0)
# set a strok width
strokeWidth(10)

# translate the canvas
translate(100, 100)

# set a line cap style
lineCap("butt")
# draw a line
line((0, 30), (0, 200))

# rotate the canvas
rotate(-30)
# set a line cap style
lineCap("square")
# draw a line
line((0, 30), (0, 200))

# rotate the canvase
rotate(-30)
# set a line cap style
lineCap("round")
# draw a line
line((0, 30), (0, 200))
