I wrote a program that emits particles according to spherical harmonics. The parameters l and m are controlled by draggers. To assist in the vizualization, I have a texture that shows the color-coded distribution and a set of dots graphing the distribution spacially.
Here is the code (compiles on an SGI with Open Inventor):
Time spent: Hours and hours, and more hours
Date: Spring 2001