{"id":16649980,"url":"https://github.com/datamine/image-approximator","last_synced_at":"2025-12-29T03:16:55.610Z","repository":{"id":24694621,"uuid":"28105881","full_name":"Datamine/Image-Approximator","owner":"Datamine","description":"Renders images by splitting triangles to configurable depth; animates rendering process","archived":false,"fork":false,"pushed_at":"2015-01-13T20:31:04.000Z","size":7696,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T06:46:27.416Z","etag":null,"topics":[],"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/Datamine.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}},"created_at":"2014-12-16T20:44:58.000Z","updated_at":"2015-01-13T20:34:25.000Z","dependencies_parsed_at":"2022-07-25T11:17:47.740Z","dependency_job_id":null,"html_url":"https://github.com/Datamine/Image-Approximator","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/Datamine%2FImage-Approximator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2FImage-Approximator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2FImage-Approximator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Datamine%2FImage-Approximator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Datamine","download_url":"https://codeload.github.com/Datamine/Image-Approximator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243224600,"owners_count":20256734,"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":[],"created_at":"2024-10-12T09:14:37.306Z","updated_at":"2025-12-29T03:16:50.581Z","avatar_url":"https://github.com/Datamine.png","language":"Python","readme":"## Image-Approximator\n\nRenders an image by splitting triangles, which yields a cool animation.\n\nRequires:   \n*PyGame 1.9.2a0  \n*Python Imaging Library 1.1.6+  \n\n## Todo\n\nThe following are areas for improvement:\n\n* ~~There are currently lines drawn on the image as an artifact of the triangle-splitting. Should get rid of those lines -- they're ugly/distracting.~~\n(Done, with an option to have them in the image for a more `tiled' look.)\n\n* ~~Current rendering process is DFS. Should also have a BFS option.~~\n(Done)\n\n* Should split triangles into triangles of random dimensons, rather than into right-angle triangles (a bit boring).\n\n* Could do this with random polygons at random positions. Maybe doing nothing but color inversions to approximate the image.\n\n* This needs to be sped up! Some optimization is called for.\n\n* Should make a shortcut-mode that bypasses the animation and instead just renders the final image, directly.\n\n* Does not yet work on certain grayscale images (e.g. Kitten.jpg.).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamine%2Fimage-approximator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatamine%2Fimage-approximator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamine%2Fimage-approximator/lists"}