View Single Post
Old 07-02-2019, 02:05 PM   #5
danerius
Human being with feelings
 
Join Date: Oct 2018
Posts: 173
Default

Quote:
Originally Posted by sai'ke View Post
Ah, I must have been sleepy

The equation is different from what you plotted.

You wrote:
Code:
spl0= slider1 * sin((spl0*$pi)+spl0);
spl1= slider1 * sin((spl1*$pi)+spl1);
While the formula you graphed is:
Code:
spl0= slider1 * sin(spl0*$pi)+spl0;
spl1= slider1 * sin(spl1*$pi)+spl1;
Sleepy is fine. I have no excuse other than that Im learning

It was the parenthesises... So simple... Thanks a million for the help
danerius is offline   Reply With Quote