Skip to content

Implementing the Tapper self-referential formula in Python, with which you can create bitmaps with a size of 17x106 pixels.

License

Notifications You must be signed in to change notification settings

HanSaloZu/Tupper-s-self-referential-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tupper-s-self-referential-formula-in-Python

This is a Python implementation of the Tupper's self-referential formula that can produce 17x106 pixel bitmaps.

Clone 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.

You 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.

To draw your own image, you need to put the image k constant in the k.txt file and run the main.py file.

References

Wikipedia

Numberphile video

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Implementing the Tapper self-referential formula in Python, with which you can create bitmaps with a size of 17x106 pixels.

Topics

Resources

License

Stars

Watchers

Forks

Languages