MCPcopy Index your code
hub / github.com/python/cpython / draw

Function draw

Lib/turtledemo/penrose.py:87–101  ·  view source on GitHub ↗
(l, n, th=2)

Source from the content-addressed store, hash-verified

85 rt(144)
86
87def draw(l, n, th=2):
88 clear()
89 l = l * f**n
90 shapesize(l/100.0, l/100.0, th)
91 for k in tiledict:
92 h, x, y = k
93 setpos(x, y)
94 setheading(h)
95 if tiledict[k]:
96 shape("kite")
97 color("black", (0, 0.75, 0))
98 else:
99 shape("dart")
100 color("black", (0.75, 0, 0))
101 stamp()
102
103def sun(l, n):
104 for i in range(5):

Callers 2

testFunction · 0.70
char_name_dbFunction · 0.50

Calls

no outgoing calls

Tested by 1

char_name_dbFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…