{"id":19253225,"url":"https://github.com/hansalozu/tupper-s-self-referential-formula","last_synced_at":"2025-06-28T11:02:31.658Z","repository":{"id":191897609,"uuid":"244230585","full_name":"HanSaloZu/Tupper-s-self-referential-formula","owner":"HanSaloZu","description":"Implementing the Tapper self-referential formula in Python, with which you can create bitmaps with a size of 17x106 pixels.","archived":false,"fork":false,"pushed_at":"2022-08-02T21:10:20.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T13:39:16.242Z","etag":null,"topics":["bitmaps","formula","python","tupper"],"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/HanSaloZu.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}},"created_at":"2020-03-01T22:02:06.000Z","updated_at":"2022-10-14T20:31:43.000Z","dependencies_parsed_at":"2023-09-01T12:21:08.799Z","dependency_job_id":null,"html_url":"https://github.com/HanSaloZu/Tupper-s-self-referential-formula","commit_stats":null,"previous_names":["hansalozu/tupper-s-self-referential-formula"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HanSaloZu/Tupper-s-self-referential-formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSaloZu%2FTupper-s-self-referential-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSaloZu%2FTupper-s-self-referential-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSaloZu%2FTupper-s-self-referential-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSaloZu%2FTupper-s-self-referential-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HanSaloZu","download_url":"https://codeload.github.com/HanSaloZu/Tupper-s-self-referential-formula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSaloZu%2FTupper-s-self-referential-formula/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262419692,"owners_count":23308092,"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":["bitmaps","formula","python","tupper"],"created_at":"2024-11-09T18:29:51.375Z","updated_at":"2025-06-28T11:02:31.641Z","avatar_url":"https://github.com/HanSaloZu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tupper-s-self-referential-formula-in-Python\n\nThis is a Python implementation of the Tupper's self-referential formula that can produce 17x106 pixel bitmaps.\n\nClone this repository and run the main.py file to see the result (Tupper's formula itself). The k.txt file already contains the required value.\n\nYou can configure the application by editing the config.py file. By changing `SCREEN_HEIGHT` and `SCREEN_WIDTH` you can resize the application window. `SCREEN_TITLE` is the title of the application window. By changing `PIXEL_SIZE` you can scale the image that will be drawn.\n\nTo draw your own image, you need to put the image k constant in the k.txt file and run the main.py file.\n\n## References\n\n[Wikipedia](https://en.wikipedia.org/wiki/Tupper%27s_self-referential_formula)\n\n[Numberphile video](https://www.youtube.com/watch?v=_s5RFgd59ao)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalozu%2Ftupper-s-self-referential-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansalozu%2Ftupper-s-self-referential-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansalozu%2Ftupper-s-self-referential-formula/lists"}