arc() calls polyline() """ from swampy.TurtleWorld import * import math world = TurtleWorld() bob = Turtle() jay = Turtle() bob.delay = 0.01 jay.delay = 0.01 world.ca_width = 700 world.ca_height = 700 world.canvas = world.ca(world.ca_width, world.ca_height, bg='white') def drawSquare(d, t, length): '''Draw square with edge length 'length'. Turtle instance, edge length ===> square d: turn direction (either 'rt' or 'lt') t: Turtle object length: edge length ''' for i in range(4): fd(t, length) d(t)