This little WebGL script visualizes the <ahref="https://www.wikiwand.com/en/Spherical_harmonics">Spherical Harmonics</a>.
A quick rundown about what that means:
</p>
<p>
The <i>Spherical Harmonics</i> are results of a rather complex (pun not intended) function, commonly denoted with the capital letter Y.
This function depends on two parameters: <i>l</i> and <i>m</i>. Y is defined for all <b>integers</b><i>l</i> and <i>m</i> such that 0 ≤<i>m</i>≤<i>l</i>.
The function takes in two variables: θ and φ. The function essentially takes in a sphere and deforms it in a specific way.
</p>
<p>
This tool plots this function. Since the results of the function are complex, it isn't really easy to plot the function in all its glory.
(The function takes in two variables and spits out another two. We'd need 4D screens to see it in all its glory).
So this widget just plots the radius of the complex number. Think of complex numbers as points in 2D space. I plot the distance