example_006.start()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 0
1
from pypen import *
2
3
4
def start():
5
    settings.fps = 70
6
7
8
def update():
9
    fill_screen("#E33050")
10
    i = 0
11
    for x, y in grid(50):
12
        i += 1
13
        offset_x = cos(TIME + y + i) * 10
14
        offset_y = sin(TIME + x + i) * 10
15
16
        circle(x + offset_x, y + offset_y, abs(sin(TIME + i) * 20) + 1, "#F34060")
17