Passed
Push — master ( 4381c0...b257e4 )
by Erik
01:12
created

examples/example_006.py (7 issues)

1
from pypen import *
2
3
4
def start():
5
    settings.fps = 70
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable settings does not seem to be defined.
Loading history...
6
7
8
def update():
9
    fill_screen("#E33050")
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable fill_screen does not seem to be defined.
Loading history...
10
    i = 0
11
    for x, y in grid(50):
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable grid does not seem to be defined.
Loading history...
12
        i += 1
13
        offset_x = cos(TIME + y + i) * 10
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable cos does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable TIME does not seem to be defined.
Loading history...
14
        offset_y = sin(TIME + x + i) * 10
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable sin does not seem to be defined.
Loading history...
15
16
        circle(x + offset_x, y + offset_y, abs(sin(TIME + i) * 20) + 1, "#F34060")
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable circle does not seem to be defined.
Loading history...
17