The 'wikipedia' example is now 'rosette', describing what it draws.
The 'penrose' print output is reduced. The 'tree' '1024'
output is eliminated.
(cherry picked from commit
891a1f86d415779cf67ca23e626a868e586feb05)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
draw(l, n, th)
tracer(1)
c = clock()
- print("Calculation: %7.4f s" % (b - a))
- print("Drawing: %7.4f s" % (c - b))
- print("Together: %7.4f s" % (c - a))
nk = len([x for x in tiledict if tiledict[x]])
nd = len([x for x in tiledict if not tiledict[x]])
print("%d kites and %d darts = %d pieces." % (nk, nd, nk+nd))
t = tree([p], 200, 65, 0.6375)
for x in t:
pass
- print(len(p.getscreen().turtles()))
def main():
a=clock()
--- /dev/null
+Make minor tweaks to turtledemo. The 'wikipedia' example is now 'rosette',
+decribing what it draws. The 'penrose' print output is reduced. The'1024'
+output of 'tree' is eliminated.