Calculation question dealing with spin
I can get pt_start and pt_end to "rotate circularly" when the freq_1 and freq_2 are 1hz
but if I change freq_1 (1.5hz) or freq_2 to a different frequency pt_start and pt_end no longer rotate circularly. I know it has to do with the calculation not taking into account the new frequency and the phase shift. Any ideas how I should adjust the calculation to correct shift_1 and/or shift_2?
I included two animations that shows the correct spin and another animation that shows what happens when I change freq_1 to 1.5hz which causes the wrong spin.
I also included the ggb file. I'm just not sure how to adjust the calculation to maintain the "correct" spin if I change the frequencies of freq_1 and/or freq_2