This Python program uses the Turtle graphics library to draw a random series of lines. Each line is drawn in a random color and direction, creating an abstract geometric pattern.
- Python 3.x
- Turtle graphics library (usually included in standard Python installations)
No installation is required. Simply clone the repository to your local machine and run the main.py
file.
Run the main.py
file using Python to see the turtle draw the random lines. The program will continue drawing until you close the window.
python main.py
You can customize the number of lines drawn by changing the num_sides
variable in the main.py
file. You can also modify the speed of the drawing by adjusting the speed
method in the initialize_turtle
function.
This project is licensed under the MIT License - see the LICENSE file for details.