Sample Array from Float Curve
Last updated
Last updated
Evaluates a float curve at multiple X positions and returns an array of the corresponding Y values. This allows you to generate sequences of values based on a curve's shape.
curve
The float curve to sample
Float Curve
Yes
samplePoints
Array of X positions (0-1) to sample
List
Yes
precision
Number of decimal places for the results
Number
No
values
Array of Y values sampled from the curve
List
Drag the Sample Array from Float Curve node into your graph.
Connect a float curve to the "curve" input.
Connect an array of X positions (between 0 and 1) to the "samplePoints" input.
Optionally set the "precision" input to control decimal places (default is 2).
All X values must be between 0 and 1, representing normalized positions along the curve.
Higher precision values will give more accurate results but might be unnecessary for most design applications.
Sample Float Curve: For sampling a single point on a curve.
Construct Float Curve: For creating custom curves to sample.
Animation Keyframes: Generate multiple animation steps from a single easing curve.
Data Visualization: Create smooth distributions of values based on a curve shape.
Design Scales: Build graduated scales for spacing, sizing, or opacity based on a mathematical curve.