sine wave script

 From:  bemfarmer
7861.12 In reply to 7861.11 
Thanks Tom. The scripts are mainly cut and paste, based upon Michaels scripts, and study of them.

Attached is an update, adding spherical sine wave. It was a bit harder, due to imaginary numbers turning up in the spherical formula, due to possible
square root of negative numbers. So there is an alert if amplitude squared is greater than radius squared. Note that negative amplitude is possible, resulting in "phase shifts." The solution is cobbled together. Maybe there is a better way. The .js and .htm in the zip are not labeled 2, so they could overwrite older versions.

- Brian