Here is the Bezier Curve Extension...
Reset - do this before adding points, whenever you are changing points locations
AddPoint - add another point to the curve.
GetPointX - returns the curve X at time T
GetPointY - returns the curve Y at time T
i didn't have time to put an example...
T must be from 0 to 1 decimal number, so you can for example start from 0 and every program loop increase T for 0.001.
Here is the Download Link