mirror of https://github.com/kivy/kivy.git
examples/canvas/mesh_manipulation.py Fix PEP8 long lines
This commit is contained in:
parent
1ed9cb7a43
commit
e0504affc3
|
@ -87,8 +87,10 @@ class MeshBallApp(App):
|
||||||
while i < 2 * pi:
|
while i < 2 * pi:
|
||||||
i += 0.01 * pi
|
i += 0.01 * pi
|
||||||
points.extend([
|
points.extend([
|
||||||
Window.width / 2 + cos(i) * (self.radius + self.sin_wobble * sin(i * self.sin_wobble_speed)),
|
Window.width / 2 + cos(i) * (self.radius + self.sin_wobble
|
||||||
Window.height / 2 + sin(i) * (self.radius + self.sin_wobble * sin(i * self.sin_wobble_speed)),
|
* 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_x + sin(i),
|
||||||
self.offset_y + cos(i)])
|
self.offset_y + cos(i)])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue