After this lesson
- Separate time normalization from the curve shape.
- Build a smooth transition with zero speed at both ends.
- Map progress to any range.
Before you start
- Composition
- A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
- Parameter
- Merge1 → Blend
- Range
- Start at comp.RenderStart. Reference frames are local unless stated otherwise.
Linear motion has constant speed between its endpoints but starts and stops instantly. Easing redistributes speed. A cubic smoothstep function is enough for a simple gentle transition.
Normalize time first
Let u = clamp((time-start)/duration,0,1). This is explanatory notation, not an automatically available Fusion variable. For a one-line formula, substitute the complete expression or create a separate custom control.
Smoothstep is u*u*(3-2*u). Its endpoints remain 0 and 1, with zero slope at each end. The midpoint is 0.5. Speed is not constant: the object accelerates and then slows down.
A complete 40-frame formula
The following expression has no hidden variables and can be pasted into a numeric input. Repeated parts make it longer but show the exact dependency.
(math.min(1, math.max(0, (time-comp.RenderStart)/40)))^2 * (3 - 2 * math.min(1, math.max(0, (time-comp.RenderStart)/40)))Mapping the curve and choosing a tool
For a range A…B, use A+(B-A)*easedProgress. For example, 0.8+0.2*smoothstep gently raises scale from 0.8 to 1.0.
Spline Editor is more convenient for a complex hand-shaped curve. Anim Curves suits reusable transitions controlled through Inspector. Bounce and overshoot may suit some parameters but are often inappropriate for Blend.
Why smoothstep feels softer
A linear ramp maintains speed inside the transition but jumps from zero to that speed at the start and back to zero at the end. For 3u²−2u³, the slopes at u=0 and u=1 are zero, creating gentle starts and stops. This is not a physical spring: smoothstep has no decaying oscillation or overshoot.
At one quarter of the duration, linear progress is 0.25 while smoothstep is 0.15625. At three quarters, smoothstep is 0.84375 instead of 0.75. Sharing a midpoint of 0.5 does not make the curves identical. Compare their starts and ends.
Mapping 0…1 to size or position
Normalized progress need not drive Blend. For Size from 0.8 to 1.1, calculate 0.8+0.3*f(u). For X from 0.2 to 0.8, use 0.2+0.6*f(u), then include it in Point(X,0.5). Expose the endpoints as controls to preserve the motion shape at different sizes.
Clamp u before applying the polynomial. Evaluating 3u²−2u³ outside 0…1 makes the result reverse direction; clamping the final result does not correct the trajectory. Use Spline for manually directed motion, and a formula or Anim Curves for repeatable parametric transitions.
Parameters and ranges
| Parameter | What it changes | Example / check |
|---|---|---|
| u | Progress clamped to 0…1. | u=(time−start)/40 after clamping. |
| f(u)=u²(3−2u) | Acceleration and deceleration shape. | Neither overshoot nor a spring. |
| 40 | Transition duration. | 1.6 seconds at 25 fps. |
USE IN A COMPOSITION
Build it in Fusion
Merge1 → Blend
Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector.
Connections by port and parameter4
Color is determined by the destination input. Dashed connections are configured in the Inspector; they do not add an RGBA wire to the Flow.
Assembly steps
- Create a background and foreground.
- Paste smoothstep into Blend.
- Compare it with a linear ramp of the same duration.
- Watch the first and last five frames, not just the middle.
(math.min(1, math.max(0, (time-comp.RenderStart)/40)))^2 * (3 - 2 * math.min(1, math.max(0, (time-comp.RenderStart)/40)))Expected result. The transition starts and ends more gently than a linear ramp; the value holds before and after it.
Checkpoints
| When / what to check | Expected | Why check it |
|---|---|---|
| 0 | 0 | Zero initial speed. |
| 10 | 0.15625 | Behind the linear ramp. |
| 20 | 0.5 | Midpoint. |
| 30 | 0.84375 | Already ahead of linear progress. |
| 40 onwards | 1 | Holds the final state. |
INTERACTIVE EXAMPLE
Change a parameter. Compare the result.
Smooth reveal
Merge1 → BlendMotion
in the details.
First clamp progress to 0…1, then reshape it with smoothstep. The value holds after the transition ends.
Move past the transition end. The value should hold rather than keep increasing.
(math.min(1, math.max(0, (time - comp.RenderStart) / 40)))^2 * (3 - 2 * math.min(1, math.max(0, (time - comp.RenderStart) / 40)))Paste this into the specified parameter's Expression field. It is not Console code.
The formula runs in the browser; the preview shows its result on a teaching object. Fusion's image processing is not reproduced here.
Errors and troubleshooting
The value starts changing again outside the range
Clamp u before applying the polynomial.
The pasted variable u is unknown
u is shorthand in the explanation; create a control or substitute the full formula.
Independent exercise
How do you map an existing 0…1 curve e to scale 0.6…1.2?
Show the solution and explanation
0.6 + (1.2-0.6)*e, or 0.6+0.6*e. Check the limits of e first.
Continue learning
Official sources
An original educational walkthrough. The browser model explains the principle but does not run Fusion. Control placement depends on the version; save the original composition before replacing a parameter's control source.