Implements a class that plots Tupper's self-referencing formula at custom shifts, up and down the vertical axis. There is a nice video by Matt Parker explaining the formula.
First we instantiate the class:
T = TupperPy()
Then we save the original Tupper's bitmap, by calling the plot_tupper
method without arguments:
T.plot_tupper()
plt.savefig(os.path.join("images", "tupper_classic.png"))
The result is shown below.