After this lesson
- Adjust the range and tempo independently.
- Offset the phase of several objects.
- Check the join in a periodic animation.
Before you start
- Composition
- A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
- Parameter
- Transform1 → Size
- Range
- Start at comp.RenderStart. Reference frames are local unless stated otherwise.
A simple pulse can be separated into base, amplitude, period and phase. These let you design the movement rather than tune a formula by eye.
Base and amplitude define the range
For a range from L to H, the base is (L+H)/2 and amplitude is (H-L)/2. Sine returns −1 to 1. Multiplying by amplitude and adding the base moves that output into the desired range.
For example, 0.7…1.3 uses base 1 and amplitude 0.3. Blend 0.2…0.8 uses base 0.5 and amplitude 0.3. Check the range before copying a scale expression to opacity.
Period and phase
A denominator P means one cycle per P frames. Increasing P slows the animation. Shift phase through time inside the sine: time - start - delay. A positive delay makes a follower repeat the phase later.
1 + 0.3 * math.sin(2 * math.pi * (time - comp.RenderStart) / 80)Starting at the maximum and making seamless loops
Sine starts at the middle of its range and rises; cosine starts at the maximum. Choose the start for the task instead of adding arbitrary keys on top of the formula.
For a seamless loop, export an exact whole number of periods. Including both the first sample and its identical final sample adds a duplicate frame and can cause a subtle pause.
Phase shifts and time shifts
Phase is the position inside a cycle. Adding π/2 to the argument of sin starts at the maximum. Subtracting a delay d from local time shifts the cycle right by d frames. For four objects with period 80, use delays 0, 20, 40 and 60 to distribute the motion across quarters.
Do not confuse phase with the base. Adding 0.2 outside sin raises the entire range without moving the peak time. Multiplying the whole sum by 2 changes both amplitude and base. Keep the parameters separate so a speed adjustment does not change size.
Preparing a cycle for repetition
A period of 80 makes local times 0 and 80 equal. A looping sequence typically uses frames 0…79 to avoid repeating a state at the join. Exporting 0…80 includes both endpoints and adds an extra hold when concatenated.
Matching values is only the first check. A smooth loop must also match the rate of change. A sine wave does so across whole periods; an arbitrary segment of keyed animation may not. Watch the join repeatedly, especially when the wave controls the position of a large, high-contrast object rather than Size.
Parameters and ranges
| Parameter | What it changes | Example / check |
|---|---|---|
| Base 1 | Average value. | With amplitude 0.3, the limits are 0.7…1.3. |
| Amplitude 0.3 | Maximum deviation from the base. | The full peak-to-peak range is 0.6. |
| Period 80 | Repeats every 80 intervals. | 3.2 s at 25 fps. |
| Phase | Offset within a period. | Replacing sin with cos starts at the maximum. |
USE IN A COMPOSITION
Build it in Fusion
Transform1 → Size
Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector.
Connections by port and parameter3
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
- Set up a basic title composition.
- Enter the expression in Size.
- Check local frames 0, 20, 40, 60 and 80.
- Replace sin with cos to start at the maximum.
1 + 0.3 * math.sin(2 * math.pi * (time - comp.RenderStart) / 80)Expected result. Reference values: 1, 1.3, 1, 0.7 and 1.
Checkpoints
| When / what to check | Expected | Why check it |
|---|---|---|
| 0 | 1.0 | Starts at the average value. |
| 20 | 1.3 | Maximum. |
| 40 | 1.0 | Crosses the average while descending. |
| 60 | 0.7 | Minimum. |
| 80 | 1.0 | End of the period. |
INTERACTIVE EXAMPLE
Change a parameter. Compare the result.
Pulse
Transform1 → SizeMotion
in the details.
Size varies around a base value. Amplitude sets the maximum deviation; period determines the speed.
Set amplitude to 0: the size stops changing. Halve the period: cycles occur twice as often.
1 + 0.3 * math.sin(2 * math.pi * (time - comp.RenderStart) / 80)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 motion is too fast
Increase the period first rather than reducing amplitude: they control different properties.
The clip pauses slightly at the join
Check the exported sample count and whether the final period sample is duplicated.
Independent exercise
Find the base and amplitude for Blend from 0.15 to 0.65.
Show the solution and explanation
Base 0.4, amplitude 0.25. For period 100: 0.4 + 0.25 * math.sin(2 * math.pi * (time-comp.RenderStart) / 100).
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.