Digit patterns

I got the idea for this from Buttons for Mouse. Imagine an X-Y plane from math class, and graph a Z function in the vertical dimension. In this case:
z = x2 + y2 + 2x + 2y + 1
For example, if x = 7 and y = 11, then z = 207. Only instead of having the z value popping out of the screen 207 units towards your eyeballs, imagine that the digits 2, 0 and 7 are stacked on the screen. The 7 is stuck to the screen at x =7, y = 11. The 0 is stacked on top of the 7, and the 2 is stacked on the 0. This image is 500 by 500, so there are 25,000 pixels. At each pixel, there is a stack of digits. Got that? Does your brain hurt yet? Good.
Now we’re going to slice our mess of digits parallel to the screen and take only the 3rd digit. So, for 207, we discard the 0 and 7 and keep the 2. Similarly, for 1432, we keep just the 4. Now we have a 500-by-500 array of digits, so we can replace each digit with a color.
But wait, there’s more! I didn’t do the calculations in decimal, I did them in base 5. Why base 5, you ask? I tried using decimal, but 10 colors is too many. The patterns are too busy. Like Goldilocks, I tried different bases and it turns out that for this particular function, base 5 is not too sweet, not too rancid, but just right.
And why the 3rd digit? Well. If I use the 3rd digit in base 5, and my function consists only of additions and multiplications, then the pattern has to repeat every 125 pixels. 5 to the 3rd power is 125. If you’re familiar with modular arithmetic, this is easy enough to see. 500 divided by 125 is 4, so with a 500-by-500 pixel image, I get 4 repetitions in each direction. The pattern is big enough to be interesting, but small enough that I can see that it repeats. Just about right.
As always, there are more questions than answers. I can try different functions, different bases, different digits, different color schemes. There’s no end to the experiments that can be done, and no telling what patterns are there to be discovered.
Frostie shakes his tailfeathers
Geometric pencils
Slide grater
Wee models
Hank the heron goes fishing
Medieval theology
I picked up this book in the New Arrivals section at the library, which is a great way to find things that you weren’t looking for. The book is billed as a refutation of the New Atheism (Dawkins, etc.), but it is nothing of the sort. It is in fact an exposition of Scholasticism, the philosophy of Thomas Aquinas, drawing on Augustine, drawing on Aristotle. Scholasticism is full of arguments like:
X, and therefore Y, and therefore Z, which is another name for God.
The problem is that Z is never quite equal to the God of the Bible. The Scholastics took Aristotle as their starting point, Catholicism as their end point, and tried to fill in the details. Not surprisingly, the result is a godawful mess.
The author thinks that human philosophy reached its apex in 1300 AD and has been going downhill ever since. He thinks that Science was a big mistake because it valued experiments over reason. At the same time, he thinks that the Reformation was a big mistake because it valued faith and revelation over reason. Now this is an interesting philosophical position to be in, where you find Intelligent Design and Evolution to be equally deluded.
A more interesting book would put Aristotle in the 21st century and see what happens. I like to think that Aristotle would recast his philosophy in terms of information theory and produce something that appeals to computer nerds and science fiction fans.





