After this lesson
- Separate the main movement from a subtle variation.
- Get a reproducible result at any frame.
- Do not describe a sum of sine waves as the built-in Perturb modifier.
Before you start
- Composition
- A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
- Parameter
- TransformDetail → Angle
- Range
- Start at comp.RenderStart. Reference frames are local unless stated otherwise.
Irregular movement is convincing when it has a stable foundation. Establish the composition and keyframed path first, then add a small deviation.
Using the built-in modifier
Use Perturb in a supported control chain. At zero strength, the base result should be preserved. Then choose a small amplitude and speed, keeping the seed fixed.
For position, account for the frame dimensions: a normalized X offset of 0.01 in a 1920-pixel image is already 19.2 pixels. That may be too much for text.
A mathematical teaching model
Adding two sine waves with different frequencies makes the repetition less obvious. This is a deterministic function, but it is neither the Perturb algorithm nor Perlin noise.
0.7 * math.sin((time-comp.RenderStart)*0.13) + 0.3 * math.sin((time-comp.RenderStart)*0.31)Applying it to Angle
You can use the formula below as a small Angle deviation around zero. To vary around a base angle, add that base; do not make the input reference itself.
In a working composition, compare the result with a completely still version. If viewers notice the wobble before the content, reduce the effect.
Keep the main animation separate from the variation
First keyframe the main Transform: position, readability and duration. Place a second TransformDetail after it, responsible only for a small angular wobble. In this arrangement, disabling the variation preserves the main animation without requiring its keys to be restored.
Two successive rotations add their angles, but successive scale values multiply. For position, account for rotation and scale in preceding Transforms. A subtle variation therefore cannot be added to every parameter in the same way without considering the transform chain.
Two frequencies instead of a new random value on every evaluation
The teaching formula adds two sine waves of different frequencies. Its value depends entirely on time: returning to frame 37 produces the same result regardless of the viewing order. The coefficients 0.7 and 0.3 give a combined upper amplitude bound of 1 degree. The actual curve does not have to reach both limits.
This is not noise or a reproduction of Perturb's algorithm. For built-in procedural variation, use Perturb or Shake and set their range, frequency and seed. For a slight designed wobble, a simple formula is useful because it can be verified mathematically. With a frequency ratio of 2.37, frame 100 does not match the start of the complete sum: this is not a seamless 100-frame loop. Do not call it a loop without checking the boundary.
Parameters and ranges
| Parameter | What it changes | Example / check |
|---|---|---|
| 1 | Overall amplitude in degrees. | The theoretical bound is |Angle| ≤ 1°. |
| 0.7 / 0.3 | The weights of the two components. | The main and secondary rhythms. |
| 100 | The first sine wave's period. | Not the period of the complete sum. |
| 2.37 | Frequency ratio. | The secondary component is faster. |
USE IN A COMPOSITION
Build it: from an empty composition to verification
TransformDetail → Angle
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.
The main movement and detail each have their own controllable source.
Assembly steps
- Build a readable, static title and set up the main movement with a separate TransformMain.
- Place TransformDetail after it. Temporarily disable the main animation to assess the variation alone.
- Enable Expression on TransformDetail's Angle and paste the formula.
- Review the result at 100% zoom: the variation should add life without making the text harder to read.
- Scrub several nonadjacent frames and return to the first one. Its angle must match.
- Restore the main animation. If necessary, reduce the overall amplitude to 0.5 without changing the components' relative weights.
- For a seamless loop, choose compatible integer frequencies and a period separately; the current example provides no such guarantee.
1 * (0.7 * math.sin(2 * math.pi * (time-comp.RenderStart)/100) + 0.3 * math.sin(2 * math.pi * (time-comp.RenderStart)*2.37/100))Expected result. A small irregular wobble; the formula gives the same result at the same time.
Checkpoints
| When / what to check | Expected | Why check it |
|---|---|---|
| 0 | Angle=0° | Both sine waves are at zero. |
| Any frame | The absolute value of Angle is no greater than 1° | Checks the specified bound. |
| 37 → 80 → 37 | The same value at frame 37 | No dependence on evaluation order. |
| 100 | Not necessarily 0° | The sum does not form a seamless 100-frame loop. |
INTERACTIVE EXAMPLE
Change a parameter. Compare the result.
Organic motion
Transform1 → AngleA sum of two sine waves with different frequencies. This is a deterministic formula, not an implementation of Perturb.
Return to a frame you have already viewed. With unchanged parameters, the deviation should repeat exactly.
1 * (0.7 * math.sin(2 * math.pi * (time - comp.RenderStart)/100) + 0.3 * math.sin(2 * math.pi * (time - comp.RenderStart)*2.37/100))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 formula is described as an exact copy of Perturb
It is only an illustrative sum of sine waves. Use the actual modifier for its built-in noise.
The base path is lost
Check whether you replaced its source instead of adding a deviation.
Independent exercise
How can you halve the teaching wobble's amplitude while preserving its rhythm?
Show the solution and explanation
Multiply the entire expression by 0.5, or replace the coefficients 0.7 and 0.3 with 0.35 and 0.15. Keep the period of 100 frame intervals and the frequency ratio of 2.37 unchanged.
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.