From f7766620493ba966192c15ed8dcc30e50e973458 Mon Sep 17 00:00:00 2001 From: Anri Date: Fri, 7 Jun 2024 11:51:56 +0200 Subject: [PATCH] Actualiser circle.py Signed-off-by: Anri --- circle.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/circle.py b/circle.py index 5b19720..be6e361 100644 --- a/circle.py +++ b/circle.py @@ -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: