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
Python
installed on your machine. If you don't have it, you can downloadPython
here.
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-circle
This link can be found in the green button above Code
.
python3 -m venv venv
Activate the virtual environment
On Windows
venv\Scripts\activate
On Unix or MacOS
source venv/bin/activate
pip install -r requirements.txt
python ./draw_a_circle.py
If 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.