Create Bezier Curve ProtoFlux Node Page |
Cleaned up page. Added a description. Fixed input/output descriptions. Removed examples (those were not examples at all...). Standardized page. |
||
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. | |||
== Inputs == | == Inputs == | ||
=== From ( | === From (Pseudo-Generic) === | ||
=== To ( | 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. | |||
[[Category:ProtoFlux:Math:Interpolation]] | [[Category:ProtoFlux:Math:Interpolation]] |
Revision as of 23:21, 1 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.