example_002   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Functions

Rating   Name   Duplication   Size   Complexity  
A update() 0 3 1
A start() 0 2 1
1
from pypen import *
2
3
4
def start():
5
    settings.fps = 70
6
7
8
def update():
9
    clear()
10
    arc(WIDTH/2, HEIGHT/2, HEIGHT/4, PI*sin(TIME+1.6), PI*sin(TIME), fill_color=None, stroke_color="blue", stroke_width=5)
11