| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from pypen import * |
||
| 2 | |||
| 3 | |||
| 4 | def start(): |
||
| 5 | settings.fps = 70 |
||
| 6 | |||
| 7 | |||
| 8 | def update(): |
||
| 9 | fill("#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 |