I can think of a horrible mathematical explanation. If you add up a sequence of sine waves in the right way, you can approximate a square wave - i.e. flat top:

25860

This is a bit like what you...