{"id":15581254,"url":"https://github.com/shreyamalogi/polka-dot-generator","last_synced_at":"2025-04-24T02:52:23.478Z","repository":{"id":136170101,"uuid":"349661198","full_name":"shreyamalogi/Polka-Dot-Generator","owner":"shreyamalogi","description":"\"Shreya's Python canvas magic - Hirst Painting Art 🎨✨ ","archived":false,"fork":false,"pushed_at":"2023-10-22T12:22:03.000Z","size":7345,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T02:52:10.333Z","etag":null,"topics":["beginner-friendly","python","shreyamalogi-mentorship","turtle"],"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/shreyamalogi.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,"publiccode":null,"codemeta":null}},"created_at":"2021-03-20T07:50:58.000Z","updated_at":"2024-11-01T07:59:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"833d5ab8-34c7-4cdd-a476-add9814bfaf0","html_url":"https://github.com/shreyamalogi/Polka-Dot-Generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyamalogi%2FPolka-Dot-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyamalogi%2FPolka-Dot-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyamalogi%2FPolka-Dot-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shreyamalogi%2FPolka-Dot-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shreyamalogi","download_url":"https://codeload.github.com/shreyamalogi/Polka-Dot-Generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250552036,"owners_count":21449162,"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":["beginner-friendly","python","shreyamalogi-mentorship","turtle"],"created_at":"2024-10-02T19:42:10.690Z","updated_at":"2025-04-24T02:52:23.457Z","avatar_url":"https://github.com/shreyamalogi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Polka Dot Generator 🎨\n\nWelcome to  the beginner-friendly project - \" The Polka Dot Generator   \"\n\nCrafted and taught by **Shreya Malogi!** 🌐\n\n\n [![GitHub stars](https://img.shields.io/github/stars/shreyamalogi/Polka-Dot-Generator.svg?style=social)](https://github.com/shreyamalogi/https://github.com/shreyamalogi/Polka-Dot-Generator/stargazers)\n\n### Project Details: 💻🌐📅✍️\n\n\n- **Functionality:** Generates stunning Hirst-inspired paintings using Python's Turtle module.\n- **Tech Stack:** `Python`, `turtle-GUI`\n- **Author:** [@shreyamalogi](https://github.com/shreyamalogi/)\n- **Year of Project:** 2021\n  \n---\n\n\n\n\n# Table of Contents 📚\n\n1. [Introduction](#introduction-)\n2. [Prerequisites](#prerequisites-%EF%B8%8F)\n3. [Installation](#installation-)\n4. [Running the Script](#running-the-script-%EF%B8%8F)\n5. [Customizing Your Painting](#customizing-your-painting-)\n6. [Understanding the Code](#understanding-the-code-)\n\n\n## Introduction 🎨\n\nThis Python script utilizes the Turtle module to create a stunning Hirst-inspired painting. Let's embark on your artistic coding journey! 🚀\n\n## Prerequisites 🛠️\n\nBefore you dive in, make sure you have Python installed on your machine. If not, you can download it [here](https://www.python.org/downloads/).\n\n## Installation 🐢\n\nYou'll need the `turtle` module to run this script. Install it using:\n\n```bash\npip install PythonTurtle\n```\n\n## Running the Script ▶️\n\n1. Open the script in your favorite Python environment.\n2. Run the script. This will launch the Turtle graphics window.\n\n## Customizing Your Painting 🎨\n\nThe script uses a predefined `color_list` variable containing RGB tuples. Feel free to customize this list to create your unique color palette. 🌈\n\n## Understanding the Code 🤓\n\nLet's break down the script:\n\n```python\nimport turtle as turtle_module\nimport random\n\n# ... (other imports)\n\nturtle_module.colormode(255)\nmyrtle = turtle_module.Turtle()\nmyrtle.speed(\"fastest\")\nmyrtle.penup()\nmyrtle.hideturtle()\n\ncolor_list = [(202, 164, 109), (238, 240, 245), ... , (176, 192, 209)]\n\n# ... (more code)\n\nscreen = turtle_module.Screen()\nscreen.exitonclick()\n```\n\n- `colormode(255)`: Configures Turtle to use RGB values ranging from 0 to 255.\n- `Turtle()`: Creates a Turtle object named `myrtle`.\n- `speed(\"fastest\")`: Sets the drawing speed to the fastest.\n- `penup()`: Lifts the pen, so no drawing occurs when moving.\n- `hideturtle()`: Hides the turtle cursor.\n\n---\n#### Running the Painting Loop 🔄\n\nThe script uses a loop to draw dots on the canvas:\n\n```python\nfor dot_count in range(1, number_of_dots + 1):\n    myrtle.dot(20, random.choice(color_list))\n    myrtle.forward(50)\n\n    if dot_count % 10 == 0:\n        # ... (code for changing direction and position)\n```\n\n## Exploring Your Art 🌌\n\nThe script will create a unique Hirst-inspired artwork. Experiment with colors and settings to make it your own! Enjoy the creative process! 🎉\n\n## Contribution- Show Your Support (Star This) ⭐🌟📜✨\n\nFeel the magic within you? Contribute to this enchanting spellbook and make it even more magical. Don't forget to star the project! ⭐🌟\n\n## License 🕊️\n\nThis project is enchanted under the spell of the MIT License. Share the magic responsibly!\n\nMIT License\n\nCopyright (c) 2021 Shreya Malogi\n\nStay Enchanted! 🌍💙\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyamalogi%2Fpolka-dot-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshreyamalogi%2Fpolka-dot-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshreyamalogi%2Fpolka-dot-generator/lists"}