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 time import sleep
|
||||||
from math import radians, cos, sin
|
from math import radians, cos, sin
|
||||||
|
|
||||||
def circle(radius, x, y):
|
def circle(radius, base_x, base_y):
|
||||||
base_x = x
|
previous_x, previous_y = base_x, base_y
|
||||||
base_y = y
|
|
||||||
|
|
||||||
previous_x, previous_y = position()
|
|
||||||
threshold = 50
|
threshold = 50
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue