{"id":19626532,"url":"https://github.com/petermatts/heart","last_synced_at":"2026-02-05T15:31:29.745Z","repository":{"id":119144712,"uuid":"564904501","full_name":"petermatts/Heart","owner":"petermatts","description":"A little project that uses the Python Turtle package to draw a heart \u003c3","archived":false,"fork":false,"pushed_at":"2025-06-06T07:02:00.000Z","size":4484,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T07:47:27.178Z","etag":null,"topics":["python","turtle-graphics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petermatts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-11-11T19:28:33.000Z","updated_at":"2025-06-06T07:02:03.000Z","dependencies_parsed_at":"2024-07-23T06:14:53.134Z","dependency_job_id":null,"html_url":"https://github.com/petermatts/Heart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petermatts/Heart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FHeart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FHeart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FHeart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FHeart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petermatts","download_url":"https://codeload.github.com/petermatts/Heart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petermatts%2FHeart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29124801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["python","turtle-graphics"],"created_at":"2024-11-11T11:46:53.657Z","updated_at":"2026-02-05T15:31:29.727Z","avatar_url":"https://github.com/petermatts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heart\n\nJust a little coding project I made for my girlfriend ❤️\n\n## Running\n\n### Designing your Heart\n\nIn the `Heart.py` function there are two functions.\n\n- `draw1` which works by drawing a heart with two full semi-circles at the top.\n  - `angle` parameter to set initial angle in degrees from horizontal (must be between 0 and 90, default `50`)\n  - `length` length of the straight side of the heart, default `200`\n  - `Title` string name to label the window, default `Love`\n- `draw2` Draws a heart with a variable angle between the two bulbs at the top of the heart.\n  - `angle` parameter to set initial angle in degrees from horizontal (must be between 0 and 90, default `50`)\n  - `inpointangle` the angle in degrees between the two bulbs at the top of the heart about their intersection point, default `90`\n  - `length` length of the straight side of the heart, default `200`\n  - `Title` string name to label the window, default `Love`\n\nTo costomize your heart call one of these functions in the main section of the file like so:\n\n```python\nif __name__ == '__main__':\n    draw1(angle=50, length=400, Title='Love')\n```\nor\n```python\nif __name__ == '__main__':\n    draw2(angle=50, inpointangle=70, length=400, Title='Love')\n```\n\n### Compiling Executable\n\nBe sure to have python installed as well as the `turtle` and `pyinstaller`.\n\nTo install these if you do not have them, run `pip install turtle` and `pip install pyinstaller` for `turtle` and `pyinstaller` respectively.\n\nThen run the following commands based on your operating system.\n\n### Windows\n\n```.\\build.bat```\n\n### MacOS\n\n```./build.command```\n\n## Final Product\n\nAfter building, the executable file should be in the `/dist` directory. \n\nWARNING: You won't be able to send the executable file over email, so you will need to either transfer the file with a flash drive or clone this repo and run the commands.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermatts%2Fheart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermatts%2Fheart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermatts%2Fheart/lists"}