def lace(): times = 30 for i in range(times): pu() fd(150) pd() polygon(20, 3) left(60) polygon(20, 3) right(60) pu() goto(0, 0) right(360 / times)
def flower(): times = 10 for i in range(times): pu() fd(80) left(30) pd() polygon(112, 3) polygon(90, 3) pu() right(30) fd(-80) right(360/times)
def flower(): times = 9 for r in range(times): pu() fd(145) left(120) pd() polygon(50, 3) right(180) polygon(50, 3) left(60) pu() fd(-145) right(360 / times) pd()
def flower(): times = 12 for i in range(times): fd(80) for size in [77, 30]: pd() left(30) polygon(size, 3) right(30) pu() fd(23) goto(0, 0) pd() right(360 / times)
def flower(): times = 8 for i in range(times): polygon(35, 12) right(360 / times)
def fan(): times = 6 for i in range(times): polygon(50, 3) right(120/times)
def flower(): times = 10 for i in range(times): polygon(125, 4) leaf(60, 90, 'right') right(360/times)
def hexagon(): times = 6 for i in range(times): polygon(180, 3) polygon(170, 3) right(360 / times)
def triangles(): times = 5 for i in range(times): polygon(150, 3) right(360 / times)
def flower(): times = 8 for i in range(times): polygon(160, 3) right(360 / times)
def outer(): times = 5 for i in range(times): polygon(38, 4) right(360/times)