After this lesson
- Convert a pixel radius to Point.
- Preserve a circle in a wide frame.
- Separate position, rotation and transformation origin.
Before you start
- Composition
- A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
- Parameter
- Transform1 → Center; 1920×1080 composition
- Range
- Start at comp.RenderStart. Reference frames are local unless stated otherwise.
A positional input returns a point, not two separate numeric expressions. In a normal 2D composition, the image center is Point(0.5, 0.5). However, normalized X and Y units correspond to different pixel distances in a wide frame.
Point and coordinate systems
Point(x, y) constructs a position value. For an ordinary image, X increases to the right and Y upwards. The browser laboratory deliberately converts the Y direction because screen SVG coordinates increase downwards.
Center moves the object; Pivot defines the transformation origin. Do not compensate for an incorrect Pivot in the Center formula: check the tool geometry first.
Pixels in normalized units
A 100-pixel X offset at width 1920 is 100/1920; a Y offset at height 1080 is 100/1080. Use the image dimensions relevant to the input, not automatically the final timeline dimensions.
Equal X and Y amplitudes of 0.1 in a 16:9 frame produce an ellipse in pixels. For a circle, define the same pixel radius and divide by the corresponding dimension. This example assumes square pixels.
An orbit and independent rotation
Cosine for X and sine for Y with a shared phase produce a circle. Center defines the path but does not necessarily rotate the object along its tangent: set Angle separately.
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))Why equal numbers produce an ellipse
With square pixels in a 1920×1080 frame, x=0.1 is 192 pixels and y=0.1 is 108 pixels. Thus Point(0.5+0.1*cos(t), 0.5+0.1*sin(t)) traces a pixel ellipse despite equal coefficients. Dividing the radius by width and height corrects this geometry.
When changing format to 1080×1920, update the denominators. Non-square pixels also require their displayed aspect ratio; normalized coordinates alone do not guarantee a circle on screen. Check the Viewer using the correct display mode without uneven window stretching.
Orbiting does not have to rotate the object
Center controls where Transform moves the object. Angle controls orientation. Leave Angle=0 for text that travels in a circle while remaining horizontal. To rotate it with the motion, add a separate Angle dependency; matching periods alone do not guarantee the correct phase offset.
Start with an object centered in the source image. An offset mask inside a large transparent Background brings its own displacement into the orbit. Center the geometry first, then animate it. For cropped sources, check canvas size and Pivot: this is a separate issue from calculating Point.
Parameters and ranges
| Parameter | What it changes | Example / check |
|---|---|---|
| 160 | The circle radius in pixels. | Horizontal offset 160/1920≈0.08333. |
| 1920 / 1080 | Dimensions of the image that Center refers to. | Not the Viewer window size. |
| 90 | Period in frames. | A quarter takes 22.5 frame intervals. |
| 0.5, 0.5 | Orbit center. | Change both base values to move the entire path. |
USE IN A COMPOSITION
Build it in Fusion
Transform1 → Center; 1920×1080 composition
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
- Create a small object initially centered in the image.
- Add Transform and an Expression on Center.
- Paste the formula for 1920×1080.
- Check the circle in a Viewer with the correct pixel aspect, then change the radius.
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. The object center follows a circle with a 160-pixel radius and a 90-frame period.
Checkpoints
| When / what to check | Expected | Why check it |
|---|---|---|
| 0 | Point(0.58333, 0.5) | Rightmost point of the orbit. |
| 22.5 | Point(0.5, 0.64815) | Top point; Y increases upwards. |
| 45 | Point(0.41667, 0.5) | Leftmost point. |
| 67.5 | Point(0.5, 0.35185) | Bottom 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 result is an ellipse
Account for width, height and pixel aspect.
The object orbits an offset center
Check its initial position, Center and Pivot before enabling the expression.
Independent exercise
Use a 100-pixel radius and move the orbit center to Point(0.3,0.6).
Show the solution and explanation
Replace 160 with 100 in both amplitudes, the first base 0.5 with 0.3 and the second with 0.6.
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.