Skip to content

Instantly share code, notes, and snippets.

View lvrma's full-sized avatar

Lucas Valença lvrma

View GitHub Profile
@lvrma
lvrma / circle.py
Last active September 9, 2022 08:29
Perfect circle to beat the game at https://vole.wtf/perfect-circle/ for absolutely no reason
import win32api, win32con, math
win32api.Sleep(10000)
start_x, start_y = win32api.GetCursorPos()
win32api.SetCursorPos((start_x,start_y))
for i in range(0, 320 * 2, 10):
x = start_x + int(300 * math.cos(float(i)/100.0))
y = start_y + int(300 * math.sin(float(i)/100.0))
win32api.SetCursorPos((x,y))