{"id":20589798,"url":"https://github.com/ovidios/spindafy","last_synced_at":"2025-06-14T09:07:14.414Z","repository":{"id":231203509,"uuid":"780568073","full_name":"Ovidios/spindafy","owner":"Ovidios","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-02T04:20:57.000Z","size":123,"stargazers_count":84,"open_issues_count":2,"forks_count":24,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T22:13:20.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Ovidios.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,"zenodo":null}},"created_at":"2024-04-01T18:40:48.000Z","updated_at":"2025-04-02T23:25:52.000Z","dependencies_parsed_at":"2024-04-03T01:43:46.873Z","dependency_job_id":"488e56c3-48b6-4c72-93d5-54955aed0fc4","html_url":"https://github.com/Ovidios/spindafy","commit_stats":null,"previous_names":["ovidios/spindafy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ovidios/spindafy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ovidios%2Fspindafy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ovidios%2Fspindafy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ovidios%2Fspindafy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ovidios%2Fspindafy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ovidios","download_url":"https://codeload.github.com/Ovidios/spindafy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ovidios%2Fspindafy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259790456,"owners_count":22911547,"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-11-16T07:31:48.038Z","updated_at":"2025-06-14T09:07:14.396Z","avatar_url":"https://github.com/Ovidios.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spindafy\nThis is a simple script to find a personality value (PID) that most closely matches a target image when applied as a pattern to the Pokémon Spinda!\n\nIt consists of the following files:\n- ``spindafy.py`` defines the ``SpindaConfig`` class, representing a Spinda point configuration. It also contains a method to render the pattern to a PIL Image, compare it to a target image, an to check whether a pixel is within a spot's area.\n- ``spinda_optimizer.py`` defines a *very* simple genetic algorithm to try and find a good PID for a given input image.\n- ``spinda_anim.py`` just runs the genetic algorithm on a number of files in a given directory and writes the results to a different directory (both given as command line arguments.) See [this YouTube video](https://www.youtube.com/watch?v=ZzsBIfA6iog) for an example.\n- ``large_spinda.py`` implements a super naive and *very* slow spinda mosaic generator. Example:\n  ![a mosaic of spinda forming a yin and yang symbol](res/test_large_result.png)\n- ``large_spinda_anim.py`` is the mosaic equivalent of ``spinda_anim.py``.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovidios%2Fspindafy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovidios%2Fspindafy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovidios%2Fspindafy/lists"}