I'm programming a camera for a game, and to achieve some effect I think the best solution would be some kind of function.(adsbygoogle = window.adsbygoogle || []).push({});

What I need to achieve, is a function that:

- 'starts' at x1, with a y value of y1.

- 'ends' at x2, with a y value of y2.

- I also need some parameter to control the 'curve amount' of the graph in between x1 and x2

('starts' and 'ends' mean that only the solution for the set of x values ['start' - 'end'] matter)

Unfortunately my calculus knowledge is very limited so I hope that someone here could explain to me what the correct solution is, and/or how to get there.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to control a graph of f(x) = y

Loading...

Similar Threads for control graph |
---|

I Help please with biocalculus question involving differentiation |

B Wolfram Alpha graph of ln(x) shows as ln(abs(x)) |

B How to integrate a polar graph with respect to radius |

**Physics Forums | Science Articles, Homework Help, Discussion**