{"id":15814572,"url":"https://github.com/mufeedvh/tupperplot","last_synced_at":"2025-04-01T03:38:18.287Z","repository":{"id":114486296,"uuid":"531202147","full_name":"mufeedvh/tupperplot","owner":"mufeedvh","description":"Tupper's self-referential formula plotting itself on a framebuffer with Rust.","archived":false,"fork":false,"pushed_at":"2022-08-31T18:51:35.000Z","size":1752,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-23T09:32:27.466Z","etag":null,"topics":["art","generative-art","math","rust","tupper-formula"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/mufeedvh.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}},"created_at":"2022-08-31T18:06:10.000Z","updated_at":"2023-08-12T06:35:32.000Z","dependencies_parsed_at":"2023-05-16T23:15:14.909Z","dependency_job_id":null,"html_url":"https://github.com/mufeedvh/tupperplot","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"8d254529b635cd2ab7f51692c30b86fd9441228b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Ftupperplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Ftupperplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Ftupperplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedvh%2Ftupperplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mufeedvh","download_url":"https://codeload.github.com/mufeedvh/tupperplot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246386419,"owners_count":20768831,"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":["art","generative-art","math","rust","tupper-formula"],"created_at":"2024-10-05T04:41:06.442Z","updated_at":"2025-04-01T03:38:18.270Z","avatar_url":"https://github.com/mufeedvh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tupperplot` 📐\n\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/mufeedvh/tupperplot/main/assets/tuppers_self_referencial_formula_plotting_reel.gif\" alt=\"a showcase reel of tuppers formula, pacmans, and the euler's identity being plotted repeatedly\" width=\"420\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n**Tupper's self-referential formula** plotting itself on a framebuffer... and Pacman and the Euler's identity too!\n\n## What's this formula?\n\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd style=\"padding: 10px;\"\u003e\u003cimg src=\"https://wikimedia.org/api/rest_v1/media/math/render/svg/2c74e5046994470b148f2e386aebd1f12baa88a8\" alt=\"tupper's self-referential formula\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\nTupper's self-referential formula is a formula that visually represents itself when graphed at a specific location in the (x, y) plane.\u003csup\u003e[\u003ca href=\"https://en.wikipedia.org/wiki/Tupper%27s_self-referential_formula\"\u003esrc\u003c/a\u003e]\u003c/sup\u003e\n\n### Resources\n\n- [**Wikipedia**](https://en.wikipedia.org/wiki/Tupper%27s_self-referential_formula)\n- [**Numberphile's Video**](https://www.youtube.com/watch?v=_s5RFgd59ao)\n\n## Installation\n\n**Compile:**\n\n```\n$ git clone https://github.com/mufeedvh/tupperplot.git\n$ cd tupperplot/\n$ cargo run --release\n```\n\n\n**Linux Dependencies:**\n\n```shell\n$ sudo apt install libxkbcommon-dev libwayland-cursor0 libwayland-dev\n```\n\n## Usage\n\n**Generate Tupper's self-referential formula itself:**\n\n```\n$ tupperplot tuppers\n```\n\n**Generate Pacman Plot:**\n\n```\n$ tupperplot pacman\n```\n\n\n**Generate Euler's Identity Plot:**\n\n```\n$ tupperplot euler\n```\n\n### Implementation Details\n\n- `BigNumber` / `BigInt` - https://github.com/rust-num/num-bigint\n- Bitmap Rendering - https://github.com/sondrele/rust-bmp\n- Bitmap Manipulation - https://github.com/AlecDivito/rustbitmap\n- Framebuffer - https://github.com/emoon/rust_minifb\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Ftupperplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmufeedvh%2Ftupperplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedvh%2Ftupperplot/lists"}