After this lesson
- Create a circular rather than elliptical path.
- Specify the radius in pixels.
- Check the geometry and clearance from the frame edge.
Before you start
- Composition
- A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
- Parameter
- Transform1 → Center
- Range
- Start at comp.RenderStart. Reference frames are local unless stated otherwise.
Build a circular path for a small object in a 1920×1080 composition with square pixels. Use a radius of 160 pixels and a period of 90 frames.
Initial geometry
Place the object at the center of its image. Add Transform and keep this setup separate from any previously animated Center. Then combine the object branch with the background using Merge.
Convert the radius to X as 160/1920 and to Y as 160/1080. This matters: equal normalized amplitudes produce an ellipse.
Phase and orientation
Initially cos=1 and sin=0, so the object starts to the right of the orbit center. A quarter period later, it is above the center. Reverse the sign of the sine to change the direction of travel.
The object itself does not have to rotate. Set Angle separately to rotate its image; tangent alignment requires a corresponding angle.
Moving to another format
When switching to 1080×1920, replace the dimensions in the denominators with those of the new input image. Non-square pixels also require an aspect-ratio correction.
Check that the image boundaries do not crop the object. The center's orbit radius plus half the object's size must fit inside the intended area.
Why equal X and Y amplitudes produce an ellipse
Center stores normalized coordinates: 1 along X is the full image width, and 1 along Y is the full height. At 1920×1080, an offset of 0.1 means 192 horizontal pixels but 108 vertical pixels. A circle with a 160-pixel radius needs amplitudes of 160/1920 and 160/1080. This assumes square pixels; anamorphic footage also requires the displayed aspect ratio to be taken into account.
The object should initially be centered in the frame. If its image is already offset inside a large transparent canvas, the Center formula moves the canvas and the visible object follows a circle with an additional offset. Remove the input offset or account for it separately.
Four checkpoints and the direction of movement
This formula's initial phase places the object on the right: cos(0)=1 and sin(0)=0. A quarter period later, X returns to 0.5 and Y becomes 0.5+160/1080. Positive Y points upward in Fusion coordinates; browser SVG uses screen pixels that increase downward, so the teaching Viewer converts between them.
To start at the top, add math.pi/2 to the arguments of both functions. To reverse the direction, reverse the sign of time in both functions or the sign of the sine term. For another frame size, replace both denominators while preserving the radius. Allow for half the object's own size as well as the radius: it must not be cropped at the extremes.
Parameters and ranges
| Parameter | What it changes | Example / check |
|---|---|---|
| 160 | Radius in pixels. | Equal on both axes. |
| 1920 and 1080 | The current image dimensions. | Not the Viewer window size. |
| 90 | One complete period. | 3.6 seconds at 25 fps. |
| 0.5, 0.5 | Orbit center. | Changing these values translates the path. |
USE IN A COMPOSITION
Build it: from an empty composition to verification
Transform1 → Center
Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector.
Connections by port and parameter5
Color is determined by the destination input. Dashed connections are configured in the Inspector; they do not add an RGBA wire to the Flow.
Dividing by width and height preserves a circle in a wide image.
Assembly steps
- Create a 1920×1080 composition with square pixels. Prepare a small object on a transparent background, centered in its source frame.
- Add Transform1 to the object branch and composite it over the background with Merge.
- On a still frame, check Center=(0.5,0.5) and Size=1. Allow a margin of 160 pixels plus half the object's size.
- Enable Expression on Center and paste the Point formula.
- At frames 0 and 45, measure the horizontal displacement; at the frames next to 22.5 and 67.5, measure the vertical displacement.
- Change the radius in both places at the same time. Then change the composition format and update both denominators.
- For a repeating loop, use frames 0…89 without adding the first phase a second time.
Point(0.5 + 160/1920 * math.cos(2*math.pi*(time-comp.RenderStart)/90), 0.5 + 160/1080 * math.sin(2*math.pi*(time-comp.RenderStart)/90))Expected result. A circle with a 160-pixel radius around the frame center; one complete orbit every 90 frames.
Checkpoints
| When / what to check | Expected | Why check it |
|---|---|---|
| 0 | Point(0.583333, 0.5) | The rightmost point of the circle. |
| 22.5 | Point(0.5, 0.648148) | The uppermost point in Fusion coordinates. |
| 45 | Point(0.416667, 0.5) | Leftmost point. |
| 67.5 | Point(0.5, 0.351852) | Bottom point. |
| 90 | Matches frame 0 | Return to the starting point. |
INTERACTIVE EXAMPLE
Change a parameter. Compare the result.
Orbit
Transform1 → CenterAn equal radius in pixels on both axes. Different denominators preserve a circle in a wide frame.
Change the radius. The circle must remain circular: X and Y values convert to pixels using different frame dimensions.
Point(0.5 + 160/1920 * math.cos(2 * math.pi * (time - comp.RenderStart)/90), 0.5 + 160/1080 * math.sin(2 * math.pi * (time - comp.RenderStart)/90))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 orbit is oval
Check the actual input image dimensions and pixel aspect ratio.
The object rotates unexpectedly
Check the separate Angle control and earlier transformations in the branch.
Independent exercise
Reverse the direction of travel without changing the starting position.
Show the solution and explanation
Put a minus sign before the sinusoidal Y offset. At local time 0, Y is still 0.5.
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.