UPDATE: I’ve posted a better version here using only vector math.
I recently had a need to fit a curve to three points. The geometry can get somewhat complex due to the limits of finite math, however, here is JAVA applet I’ve created with a relatively simple solution to the problem:
Drag the green points around to see how the curve fits different sets of points.
Source Code: (View) (Download)
UPDATE: I’ve posted a better version here using only vector math.
Leave a Reply