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 61a988e

Browse files
Update README.md
1 parent fab21c0 commit 61a988e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

‎README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22
Drawing using Python Turtle
33

44
## crazyvilllage.py
5-
- houses arranged in a spiral shape
6-
- black background
5+
It provides instructions on how to use the Crazy Village application, which draws a village using the Turtle graphics library.
6+
### Application Window
7+
The application window displays a village with houses of different sizes and colors. The background of the window is black, and the title of the window is "Crazy Village".
8+
### How It Works
9+
The application uses the Turtle graphics library to draw the village. The code defines a function called domecek that draws a house. The function takes three arguments:
10+
- **t:** The Turtle object that will be used to draw the house.
11+
- **velikostDomecku:** The size of the house.
12+
- **barva:** The color of the house.
13+
The code then creates a new Turtle object and sets its properties, such as shape, speed, and pen size. The code then uses a for loop to draw 20 houses. For each house, the code generates a random color and size, and then calls the domecek function to draw the house. The application draws a village with 20 houses of different sizes and colors. Houses are arranged in a spiral shape
14+
715
![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/CrazyVillage.png)
816

917
## vesnice.py

0 commit comments

Comments
(0)

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