Studio Yotsuba
Back to Node List

Curve Sample

curve_sample

Reads an AutomationCurve at normalized progress and outputs an ordinary number

Reviewed
Guide available

Input Ports

NameTypeDescription
Curve
curve
AutomationCurve
Required
AutomationCurve to reuse for movement, glow, scale, or another numeric parameter
Progress
progress
Float
Required
Position along the curve from 0.0 (start) to 1.0 (end). Values outside the range stop at the nearest end

Output Ports

NameTypeDescription
Value
value
Float
Curve value at the requested progress, mapped through the curve's Min and Max values

Overview

Samples a hand-drawn or preset AutomationCurve as a regular Float that can drive movement, glow, scale, and other numeric parameters. It reads the curve using normalized progress from 0 to 1, so changing the project frame count still traverses the complete curve.

Usage tips

Connect the Curve from automation_curve and Progress from time_source, then connect Value to the numeric parameter you want to animate. Set the actual range with Output Minimum and Maximum on Automation Curve: 0–4 is useful for a 4px offset, 0.8–1.2 for ±20% scale, and 0–1 for glow or opacity.

Common mistakes

Progress below 0 or above 1 clamps to the nearest end value. For repetition, wrap or remap Progress to 0–1 before this node. Automation Curve's Duration is useful for audio timing, but this node intentionally uses only normalized position and does not introduce seconds into the animation workflow.

Related nodes

  • automation_curve — author the curve shape and output range
  • time_source — provide 0–1 progress for the current frame
  • keyframe_clip — use when exact times and values must be edited as individual keys
  • path_to_automation — create an AutomationCurve from a path, then sample it here
Back to Node List