examples/canvas/mesh_manipulation.py Fix PEP8 long lines

This commit is contained in:
Charles Merriam 2015-02-01 12:24:16 -08:00
parent 1ed9cb7a43
commit e0504affc3
1 changed files with 4 additions and 2 deletions

View File

@ -87,8 +87,10 @@ class MeshBallApp(App):
while i < 2 * pi:
i += 0.01 * pi
points.extend([
Window.width / 2 + cos(i) * (self.radius + self.sin_wobble * sin(i * self.sin_wobble_speed)),
Window.height / 2 + sin(i) * (self.radius + self.sin_wobble * sin(i * self.sin_wobble_speed)),
Window.width / 2 + cos(i) * (self.radius + self.sin_wobble
* sin(i * self.sin_wobble_speed)),
Window.height / 2 + sin(i) * (self.radius + self.sin_wobble
* sin(i * self.sin_wobble_speed)),
self.offset_x + sin(i),
self.offset_y + cos(i)])