Spherical Harmonic

You can build rectangular pulses from wavy sine and cosine functions. You can decompose any function into its harmonics. You can do the same for functions that live on a sphere: Cover the surface of the earth with flag poles, and raise flags everywhere gradually varying the exact height of the flag. How the [ ]