Skip to content

Sample Float Curve

What It Does

Evaluates a float curve at a specific X value and returns the corresponding Y value. This node allows you to get a precise point along a curve for interpolation or animation.

Inputs

NameDescriptionTypeRequired
curveThe float curve to sampleFloat CurveYes
xThe position along the curve (0-1) to sampleNumberNo

Outputs

NameDescriptionType
yThe calculated value at the given positionNumber

Sample Float Curve Example

How to Use It

  1. Drag the Sample Float Curve node into your graph.
  2. Connect a float curve to the "curve" input.
  3. Set the "x" value to a number between 0 and 1 (defaults to 0).
  4. The node outputs the y-value at that position on the curve.
![](/images/Screenshot%202025-04-09%20at%208.03.37%E2%80%AFPM.png)

Tips

  • The x value must be between 0 and 1, representing the normalized position along the curve.
  • For easing functions, 0 typically represents the start and 1 represents the end of the animation.

See Also

  • Sample Array from Float Curve: For sampling multiple points along a curve at once.
  • Bezier Curve: For creating standard cubic bezier curves to sample.

Use Cases

  • Animation Timing: Get precise intermediate values for smooth animations.
  • Easing Functions: Apply custom easing to transitions between states.
  • Interpolation: Calculate values between keyframes based on curved rather than linear progression.