TupperTransformer
A Novel Image Processing Algorithm
Introduction
Note: This project is in a very early, experimental stage.
Welcome to the official page for the TupperTransformer project. This project is my exploration of a new image processing technique based on my 2018 preprint, "Transformation of the pixels in Tupper's self-referential formula."
The algorithm operates directly on the high-precision integer (k-value) used to generate Tupper's self-referential bitmaps, rather than manipulating the pixels after they are rendered. This page hosts the interactive demo that serves as the proof-of-concept and implementation of that research.
Live Demonstration
Experience the algorithm in the redesigned interactive demo, built to be intuitive on both desktop and mobile.
About the Research
The research is based on Tupper's self-referential formula, famous for its ability to plot a visual representation of the formula itself. However, its capabilities extend far beyond self-reference; it can render every possible 106x17 bitmap image.
My research began with a fundamental question:
"If there is some graphical formation at a particular value of k, then what can be done to change the graphical formation or to change its position?"
This inquiry led to two main research thrusts:
- Developing operations on the k-value to transform one graphical formation into another.
- Using these transformations as frames to create animations or motion pictures.
Core Capabilities
- Represent all possible graphical formations within the 1802-pixel grid.
- Define a mathematical formula for any film or motion picture that can be rendered in this grid.
In essence, this research presents a mathematical framework for a "Library of Babel" for visual media.
Demo Instructions
The demo has a single, unified interface laid out in two columns on larger screens.
1. Canvas & Workspace (Left Column)
- The Plot: The 106 × 17 grid, rendered exactly as Tupper's inequality plots it. Click and drag to draw: each pixel pi you add or remove changes k by ±17 × 2i−1. Hovering shows the pixel's index.
- Last Operation: The line under the plot shows the paper's equation behind the last change, e.g.
Move right: k′ = k × 2^17. - Transform Controls: Move the pattern up (k × 2), down (k ÷ 2), left (k ÷ 217), right (k × 217) or diagonally. Click for one step or hold to repeat; holding for more than half a second keeps it moving until you press Stop.
- K-Value: The high-precision integer k updates in real time, and you can paste any k to render it.
2. Actions & Examples (Right Column)
- Clear Canvas: Start over with k = 0.
- Examples: Load Tupper's self-referential plot or the UFO from the paper.
- Films from the Paper: Built with the framing formula k° = f1k + f2k′ + f3k″ + …, with play, pause and frame-by-frame stepping. In Eg 3.1 (UFO) each frame is k × 217 of the last, so the UFO flies right; in Eg 3.2 (Tetris) only the falling L piece is transformed while the stack stays put, reproducing the paper's 15 frames.
- Library of Babel: A random k = 17 × (random 1802-bit number), so every one of the 21802 possible images is equally likely.
- Clickable Formula: Click Tupper's formula at the top of the page to load the self-referential plot.
3. Notes on the Implementation
- Pixels follow the paper's equation (A): p1 is the bottom-left pixel, p2 the one above it, and p18 the bottom of the next column.
- Pixels are stored column by column, so 17 moves up equal one move right, as the paper derives. Pixels pushed out of the window are dropped, and every edit keeps k a multiple of 17.
- The k printed in the paper's introduction (and on Wikipedia) assumes reversed axes, so "Load Tupper's" uses the same image encoded for this layout.
Citation
If you use this work in your research, please cite the original preprint.
APA Style
Deshmukh, P. (2018). Transformation of the pixels in Tupper's self-referential formula. Figshare. https://doi.org/10.6084/m9.figshare.6373046
BibTeX
@article{Deshmukh2018,
author = "P Deshmukh",
title = "{Transformation of the pixels in tupper's self-referential formula}",
year = "2018",
month = "6",
url = "https://figshare.com/articles/preprint/Transformation_of_pixels_pdf/6373046",
doi = "10.6084/m9.figshare.6373046.v2"
}
Resources & Links
History
- 2018-06-08 - First online date, Posted date
Related Materials
- Tupper's Self-Referential Formula Explained
- Tupper's Formula Tools (older website, no longer working)
- Numberphile: The 'Everything' Formula
- Tupper's Original Paper (PDF)
Technologies Used
- HTML5: For the structure of the web page.
- CSS3: For styling the user interface.
- JavaScript (ES6+): For the core logic of the algorithm.
- BigInt: Natively handled for high-precision integer arithmetic.