{"id":24676269,"url":"https://github.com/hrosicka/pythonbasicsturtle","last_synced_at":"2025-03-21T16:47:04.560Z","repository":{"id":186803341,"uuid":"675701625","full_name":"hrosicka/PythonBasicsTurtle","owner":"hrosicka","description":"Unleash Your Imagination with Python Turtle! Get inspired and immerse yourself in a world of creativity!","archived":false,"fork":false,"pushed_at":"2024-04-04T19:15:56.000Z","size":1511,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T12:14:26.266Z","etag":null,"topics":["drawing","graphics","graphics-programming","python","python-turtle","python-turtle-art","python-turtle-graphics","python3","random","turtle","turtle-graphics","turtle-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrosicka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-07T14:22:39.000Z","updated_at":"2024-11-18T03:57:44.000Z","dependencies_parsed_at":"2023-12-05T18:30:55.620Z","dependency_job_id":"99835291-9cda-487a-9547-cf846de92aaf","html_url":"https://github.com/hrosicka/PythonBasicsTurtle","commit_stats":null,"previous_names":["hrosicka/ucimsepython03turtle","hrosicka/pythonbasicsturtle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FPythonBasicsTurtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FPythonBasicsTurtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FPythonBasicsTurtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrosicka%2FPythonBasicsTurtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrosicka","download_url":"https://codeload.github.com/hrosicka/PythonBasicsTurtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244831300,"owners_count":20517667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drawing","graphics","graphics-programming","python","python-turtle","python-turtle-art","python-turtle-graphics","python3","random","turtle","turtle-graphics","turtle-python"],"created_at":"2025-01-26T12:14:28.864Z","updated_at":"2025-03-21T16:47:04.523Z","avatar_url":"https://github.com/hrosicka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PythonBasicsTurtle\nDive into a collection of Python Turtle codes that bring your imagination to life on screen. From quaint villages and colorful spider webs to mesmerizing spiral ornaments and enchanting flowers.\n\n- **Villages:** Build your own picturesque village with colorful houses.\n- **Spider Webs:** Weave intricate and colorful webs with randomly generated patterns.\n- **Spirals:** Draw mesmerizing spiral ornaments with vibrant shades of purple.\n- **Flowers:** Design a bouquet of captivating flowers with customizable colors and petal shapes.\n\n## crazyvilllage.py\nIt provides instructions on how to use the Crazy Village application, which draws a village using the Turtle graphics library.\n### Application Window\nThe 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\".\n### How It Works\nThe 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:\n- **t:** The Turtle object that will be used to draw the house.\n- **velikostDomecku:** The size of the house.\n- **barva:** The color of the house.\nThe 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 special 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\n\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/CrazyVillage.png)\n\n## vesnice.py\nIt provides instructions on how to use the Levitating Village application, which draws a levitating village using the Turtle graphics library.\n### Application Window\nThe 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\".\n### How It Works\nThe 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:\n- **t:** The Turtle object that will be used to draw the house.\n- **velikost:** The size of the house.\n- **barva:** The color of the house.\nThe 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.\n\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/LevitatingVillage.png)\n\n## pavucina.py\nIt provides instructions on how to use the Colorful Spider Web application, which draws a colorful spider web using the Turtle graphics library.\n### Application Window\nThe application window displays a colorful spider web with intricate patterns. The background of the window is black, and the title of the window is \"Spider Web\".\n### How It Works\nThe application uses the Turtle graphics library to draw the spider web. The code uses a for loop to draw 100 nodes, each of which consists of 3 loops. Each loop draws 4 edges, and the color of each edge is randomly generated. The distance between nodes increases as the web expands, creating a spiral pattern. The background of the window is black.\n\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/SpiderWeb.png)\n\n## kytice.py\nIt provides instructions on how to use the Flower application, which draws a flower using the Turtle graphics library.\n### Application Window\nThe application window displays a flower with colorful petals. The background of the window is black, and the title of the window is \"Flower\".\n### How It Works\nThe application uses the Turtle graphics library to draw the flower. The code defines two functions:\n- **okvetniListky(t, s, count, col1, col2):** This function draws a layer of petals. It takes five arguments:\n  - **t:** The Turtle object that will be used to draw the petals.\n  - **s:** The size of the petals.\n  - **count:** The number of petals in the layer.\n  - **col1:** The fill color of the petals.\n  - **col2:** The outline color of the petals.\n- **kvetina(t, s, col1, col2, col3, col4):** This function draws a flower. It takes six arguments:\n  - **t:** The Turtle object that will be used to draw the flower.\n  - **s:** The size of the flower.\n  - **col1:** The color of the outer petals.\n  - **col2:** The alternate color of the outer petals.\n  - **col3:** The color of the middle petals.\n  - **col4:** The color of the center of the flower.\nThe code then creates a new Turtle object and sets its properties, such as speed and pen size. The code then calls the kvetina function to draw the flower.\n\n#### examples\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/Flower.png)\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/Flower2.png)\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/Flower3.png)\n\n## fialovyornament.py\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/FialovyOrnament.png)\n\n## modrozelenyornament.py\n![](https://github.com/hrosicka/PythonBasicsTurtle/blob/master/doc/ModrozelenyOrnament.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrosicka%2Fpythonbasicsturtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrosicka%2Fpythonbasicsturtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrosicka%2Fpythonbasicsturtle/lists"}