Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5c869f

Browse files
Update readme.md
1 parent 6e97dfd commit b5c869f

File tree

1 file changed

+29
-2
lines changed
  • Python Projects/Intermediate Games/Spirograph

1 file changed

+29
-2
lines changed
Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
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.
23

4+
## Requirements
5+
- Python 3.x
6+
- Turtle module (pre-installed with Python)
7+
- Random module (pre-installed with Python)
38

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
513

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
622

723
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /