1
$\begingroup$
  • sx = x starting point
  • ex = x end point
  • sy = y starting point
  • ey = y max

having all the above, plus the current x, how do I calculate with a formula an y which isn't linear but that goes faster at first and slower approaching ey instead? (such as resembling gravity)

I guess I should use some sqr or some log somewhere, but I fail to see how exactly. I know this should be trivial but it looks like my basic math skills vanished, not having used them for too long, I'm sorry.

  • 0
    What exactly do you want your function to do? What's it for?2011-04-26
  • 0
    I'll try to clarify later, thanks.2011-04-26
  • 2
    I suggest you provide a figure showing a sketch of the desired arc, the more exact the better. We then compare it with the arcs in our catalogue and can furnish a suitable formula.2011-04-26

1 Answers 1