Improving the Turtle library

I used the turtle library the first time in this topic:

My suggestion for an improvement: Allow un-filled compound shape components via turtle.Shape.addcomponent(... fill=None). It seems like an artificial limitation / oversight that this is not allowed.

Also missing are:

  • polylines i.e. open shapes instead of only closed polygons
  • shapes containing invisible jumps / gaps / move commands
  • circular arcs (as toplevel commands and as part of shapes)
  • cubic Bézier curves (as toplevel commands and as part of shapes)
1 Like