Python Script that draws a perfect circle on your screen
Before you begin, make sure you have the following dependencies installed:
- Before you begin, make sure you have the
Pythoninstalled on your machine. If you don't have it, you can downloadPythonhere.
Follow the steps below to run the project on your local machine:
Execute the following commands from the project root folder:
git clone https://github.com/Ryrden/perfect-circle.git
cd perfect-circleThis link can be found in the green button above Code.
python3 -m venv venvActivate the virtual environment
On Windows
venv\Scripts\activateOn Unix or MacOS
source venv/bin/activatepip install -r requirements.txtpython ./draw_a_circle.pyIf you want to contribute to this project, follow the steps below:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>. - Make your changes and confirm them:
git commit -m '<commit_message>' - Send to the original branch:
git push origin <project_name> / <location> - Create the pull request.
Alternatively, consult the GitHub documentation on how to create a pull request.
Editing the variable STEP_INCREMENT to equal 90 allows the mouse to draw a square instead of a circle. Even though a square is not a circle, the max score is still reached. The reason for this is explained in a video by Code Bullet.
This project is under license. See LICENSE for more information.
