Cleaned up page. Added a description. Fixed input/output descriptions. Removed examples (those were not examples at all...). Standardized page. |
Added a see also section. |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
The '''Bezier Curve''' takes in 2 tangent points ([[Type:TangentPointFloat|TangentPointFloat]] or [[Type:TangentPointDouble|TangentPointDouble]]), and a lerp value to travel from start to finish. This returns the value of a specific point using that lerp value. | The '''Bezier Curve''' takes in 2 tangent points ([[Type:TangentPointFloat|TangentPointFloat]] or [[Type:TangentPointDouble|TangentPointDouble]]), and a lerp value to travel from start to finish. This returns the value of a specific point using that lerp value. | ||
{{Note|The types needed are found using the [[ProtoFlux:Pack To Tangent Point|Pack Tangent Point]] nodes.|information}} | |||
== Inputs == | == Inputs == | ||
Line 35: | Line 37: | ||
Returns the value of a specific point along the curve using the lerp value. | Returns the value of a specific point along the curve using the lerp value. | ||
== See Also == | |||
* Wikipedia's definition of a [https://en.wikipedia.org/wiki/B%C3%A9zier_curve bezier curve] & [https://en.wikipedia.org/wiki/Spline_interpolation spline interpolation]. | |||
[[Category:ProtoFlux:Math:Interpolation]] | [[Category:ProtoFlux:Math:Interpolation]] |
Latest revision as of 15:18, 2 July 2024
Bezier Curve
Interpolation
The Bezier Curve takes in 2 tangent points (TangentPointFloat or TangentPointDouble), and a lerp value to travel from start to finish. This returns the value of a specific point using that lerp value.
Inputs
From (Pseudo-Generic)
The start point of this Bezier Curve.
To (Pseudo-Generic)
The end point of this Bezier Curve.
Lerp (float)
The travel point from start to finish.
Outputs
* (Pseudo-Generic)
Returns the value of a specific point along the curve using the lerp value.
See Also
- Wikipedia's definition of a bezier curve & spline interpolation.