Yes, you might want some code I have for plotting curves. I'll dig it out.
Here:
rem full function for getting a bezier curve x component
rem where points x1,y1 and x2,y2 are the start/end points
rem and c1x,c1y and c2x,c2y are the control points
function getPointXOnBezier(x1#, y1#, x2#, y2#, c1x#, c1y#, c2x#, c2y#, v#)
cx# = 3 * (c1x# - x1#)
bx# = 3 * (c2x# - c1x#) - cx#
ax# = x2# - x1# - cx# - bx#
x# = ((ax# * v# + bx#) * v# + cx#) * v# + x1#
endfunction x#
rem full function for getting a bezier curve y component
function getPointYOnBezier(x1#, y1#, x2#, y2#, c1x#, c1y#, c2x#, c2y#, v#)
cy# = 3 * (c1y# - y1#)
by# = 3 * (c2y# - c1y#) - cy#
ay# = y2# - y1# - cy# - by#
y# = ((ay# * v# + by#) * v# + cy#) * v# + y1#
endfunction y#
oct(31) = dec(25)