MCPcopy Create free account
hub / github.com/ActiveState/code / update

Function update

recipes/Python/502216_Boids_Demonstration/recipe-502216.py:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 graph.pack()
35
36def update():
37 # Main simulation loop.
38 draw()
39 move()
40 graph.after(40, update)
41
42def draw():
43 # Draw all boids.

Callers

nothing calls this directly

Calls 3

drawFunction · 0.70
moveFunction · 0.70
afterMethod · 0.45

Tested by

no test coverage detected