How to access the float value from ofCurvePoint?

Hi, I’m new in OF and trying to translate a code from Processing in OF, and I’m looking for a way to access the float value from ofCurvePoint(a, b, c, d, t) like in Processing’s curvePoint(a, b, c, d, t)

Is there a way to do it in OF?

thanks in advance!

yes you can use ofBezierPoint:!show_ofBezierPoint

you pass in 4 ofPoints (a,b,c,d) and one floating point number (t) between 0 and 1 and it returns a point.

oh! ok
Tank you!