Sample Array from Float Curve
What It Does
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.
Inputs
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
Outputs
values
Array of Y values sampled from the curve
List
How to Use It
- 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). 

Tips
- 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. 
See Also
- Sample Float Curve: For sampling a single point on a curve. 
- Construct Float Curve: For creating custom curves to sample. 
Use Cases
- 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. 
Last updated
