Skip to content

Commit

Permalink
examples/canvas/mesh_manipulation.py add function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
merriam committed Feb 1, 2015
1 parent 7992020 commit 1ed9cb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/canvas/mesh_manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def build(self):
return Builder.load_string(kv)

def update_points(self, *args):
""" replace self.mesh_points based on current slider positions.
Called continuously by a timer because this only sample code.
"""
points = [Window.width / 2, Window.height / 2, .5, .5]
i = 0
while i < 2 * pi:
Expand Down

0 comments on commit 1ed9cb7

Please sign in to comment.