This illusion is basically how music works. Why do three major thirds make an octave? It feels like a perfect fit, an elegant natural resonance, but it's really a trick made by bending things so slightly our brains don't notice. The top hypotenuse isn't straight, and the notes don't really add up.