|
1 | | -# Live Demo |
| 1 | +# Spirograph Turtle Project |
| 2 | +This program allows you to create a spirograph using Python's turtle module. A spirograph is a geometric drawing tool that creates intricate and beautiful patterns. The program uses random module to generate different patterns of the spirograph every time you run the program. |
2 | 3 |
|
| 4 | +## Requirements |
| 5 | +- Python 3.x |
| 6 | +- Turtle module (pre-installed with Python) |
| 7 | +- Random module (pre-installed with Python) |
3 | 8 |
|
4 | | -https://user-images.githubusercontent.com/67270567/226445938-1d5e2b6e-8ed3-4e7d-8064-139ca8ef9b02.mp4 |
| 9 | +## Usage |
| 10 | +1. Clone or download the repository to your local machine |
| 11 | + |
| 12 | +2. Open the terminal/command prompt and navigate to the directory where the files are located |
5 | 13 |
|
| 14 | +3. Run the following command to start the program: |
| 15 | +'''cmd |
| 16 | + python spirograph_turtle.py |
| 17 | +''' |
| 18 | +4. The spirograph will be drawn on the turtle window. You can close the window once the drawing is complete. |
| 19 | + |
| 20 | +# Live Demo |
| 21 | +https://user-images.githubusercontent.com/67270567/226445938-1d5e2b6e-8ed3-4e7d-8064-139ca8ef9b02.mp4 |
6 | 22 |
|
7 | 23 | Play the Video to see the Output
|
| 24 | + |
| 25 | +## Customization |
| 26 | +You can customize the appearance of the spirograph by changing the following values in the code: |
| 27 | + |
| 28 | +- pen size: turtle.pensize() |
| 29 | +- pen color: turtle.pencolor() |
| 30 | +- background color: turtle.bgcolor() |
| 31 | +- animation speed: turtle.speed() |
| 32 | + |
| 33 | +## License |
| 34 | +This project is licensed under the MIT License. You are free to use, modify, and distribute the code as long as you include the original license in your distribution. |
0 commit comments