Actualiser circle.py
Signed-off-by: Anri <kennel.anri@tutanota.com>
This commit is contained in:
parent
3cc9a5526c
commit
f776662049
1 changed files with 2 additions and 5 deletions
|
@ -2,11 +2,8 @@ from pyautogui import moveTo, size as screen_size, position
|
|||
from time import sleep
|
||||
from math import radians, cos, sin
|
||||
|
||||
def circle(radius, x, y):
|
||||
base_x = x
|
||||
base_y = y
|
||||
|
||||
previous_x, previous_y = position()
|
||||
def circle(radius, base_x, base_y):
|
||||
previous_x, previous_y = base_x, base_y
|
||||
threshold = 50
|
||||
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue