Recent content by Alterscape

  1. A

    Fitting a Sine Curve to Two Points

    I'm not sure how bump ettiquette works on this forum, but I'm going to bump once since I'm totally lost and could use some help. In response to HallsOfIvy, the function P(t)=a*sin(bx+c)+d provides 5 variables to alter the sinewave into any possible configuration that doesn't involve...
  2. A

    Fitting a Sine Curve to Two Points

    Clarifications Sorry for being unclear. First of all, yes, a scaling factor for amplitude would be necessary, and I have no idea why that didn't occur to me earlier. I think it was mosly because in the simpler code I wrote originally, I used the position function to generate a percentage...
  3. A

    Fitting a Sine Curve to Two Points

    I'm a web developer working on a bit of javascript code for a personal project. I took through Calc II and linear algebra in college, but haven't looked at any of it a couple of years, so I'm a little rusty on the details. Anyway, what I'm trying to work out is a way to scale/transform an...
Back
Top