Draw a perfect circle on neal.fun with ~99% accuracy
- Python 3.x (https://python.org)
- Pyautogui (To install run
pip install pyautogui
orpip3 install pyautogui
)
- Launch a terminal and get the command ready (
python main.py
orpython3 main.py
) - Open https://neal.fun/perfect-circle/ in a new tab and make it fullscreen
- Run the command and switch focus to the browser again. (Make sure it is fullscreen)
- Wait for around 5 seconds.
- If you cannot run python or pip from a terminal, make sure to have both of them on path. To do that, if on Windows, search "Environment Variables" and find the PATH section. Click "Add" and paste the directory you installed Python in. (Should be "C:\Program Files\Python3\python.exe" or something similar. Make sure to include the .exe)
- Make sure to have pyautogui installed. How to do that is mentioned on the Dependencies section. If you get an error while doing so, check the above troubleshooting guide.