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 a474351

Browse files
Update README.md
1 parent be1820b commit a474351

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
@@ -15,8 +15,16 @@ The code then creates a new Turtle object and sets its properties, such as shape
1515
![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/CrazyVillage.png)
1616

1717
## vesnice.py
18-
- random houses - random place, size and color
19-
- black background
18+
It provides instructions on how to use the Levitating Village application, which draws a levitating village using the Turtle graphics library.
19+
### Application Window
20+
The application window displays a village with houses of different sizes and colors levitating in a black space. The title of the window is "Levitating Village".
21+
### How It Works
22+
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:
23+
- **t:** The Turtle object that will be used to draw the house.
24+
- **velikost:** The size of the house.
25+
- **barva:** The color of the house.
26+
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 100 houses. For each house, the code generates a random position, color, and size, and then calls the domecek function to draw the house.
27+
2028
![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/LevitatingVillage.png)
2129

2230
## pavucina.py

0 commit comments

Comments
(0)

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