Online graph tools for equations

Is there a tool where I can draw some lines and it outputs me a two dimensional equation somehow? :wink:

You can do it pretty straight forward with a polynomial least squares regression. One of the interesting properties of polynomial she is they can be made to fit any curve exactly over a defined domain. Googling ā€œonline polynomial generator from curveā€ brings up some interesting results.

If you want a curve over the full domain you’ll have to do some calculus yourself. It’s basically an act of sensible guessing at equations until you find one that fits. (There probably is a tool for this somewhere, computers are getting darn good at duplicating human intuition these days).

If the intent is to use the equation in Unity, you can just cheat and use an animation curve. An animation curve allows you to go straight from a curve to an evaluation without caring about equations.

2 Likes

Interesting! :slight_smile: I will check on it, thanks a lot :slight_smile: