Create Bezier Curve ProtoFlux Node Page |
Added a see also section. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"From", "Type":" | {"Name":"From", "Type":"Dummy"}, | ||
{"Name":"To", "Type":" | {"Name":"To", "Type":"Dummy"}, | ||
{"Name":"Lerp", "Type":"float"} | {"Name":"Lerp", "Type":"float"} | ||
] | ] | ||
Line 14: | Line 14: | ||
|}} | |}} | ||
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 == | ||
=== From ( | === From (Pseudo-Generic) === | ||
The start point of this Bezier Curve. | |||
=== To (Pseudo-Generic) === | |||
The end point of this Bezier Curve. | |||
=== Lerp ([[Type:float|float]]) === | === Lerp ([[Type:float|float]]) === | ||
The travel point from start to finish. | |||
== Outputs == | == Outputs == | ||
=== * ( | === * (Pseudo-Generic) === | ||
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.