Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI

FUSION · Practical recipes

An object on a circular orbit

An equal radius in pixels on both axes, with independent rotation control.

Fusion / DaVinci Resolve 20–21; check the interface in your build

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

ParameterWhat it changesExample / check
160Radius in pixels.Equal on both axes.
1920 and 1080The current image dimensions.Not the Viewer window size.
90One complete period.3.6 seconds at 25 fps.
0.5, 0.5Orbit center.Changing these values translates the path.

USE IN A COMPOSITION

Build it: from an empty composition to verification

Transform1 → Center

FUSION / FLOWNodes and parameter control
100%
ImageControl in the InspectorScroll or drag the graph. Choose “Fit” to see all of it.
Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector. A solid arrow's color matches its destination input. Modifiers are shown separately from the Flow.Background1.Output → Merge1.BackgroundMerge1.Output → MediaOut1.InputText1.Output → Transform1.InputTransform1.Output → Merge1.Foregroundcontrol.Value → Transform1.CenterText1 · Image node · FlowT+Text1Text+Background1 · Image node · Flow▧Background1BackgroundMerge1 · Image node · Flow⊕Merge1MergeMediaOut1 · Image node · Flow↗MediaOut1MediaOutTransform1 · Image node · FlowƒTransform1TransformCenterCenter · an Inspector parameter, not an image portPoint(x, y) · Expression · InspectorEXPRESSIONPoint(x, y)Simple Expression
BackgroundImageForegroundParameter · Inspector
Select a node or a colored arrow

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

  1. Create a 1920×1080 composition with square pixels. Prepare a small object on a transparent background, centered in its source frame.
  2. Add Transform1 to the object branch and composite it over the background with Merge.
  3. 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.
  4. Enable Expression on Center and paste the Point formula.
  5. At frames 0 and 45, measure the horizontal displacement; at the frames next to 22.5 and 67.5, measure the vertical displacement.
  6. Change the radius in both places at the same time. Then change the composition format and update both denominators.
  7. For a repeating loop, use frames 0…89 without adding the first phase a second time.
SIMPLE EXPRESSION · FUSION
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 checkExpectedWhy check it
0Point(0.583333, 0.5)The rightmost point of the circle.
22.5Point(0.5, 0.648148)The uppermost point in Fusion coordinates.
45Point(0.416667, 0.5)Leftmost point.
67.5Point(0.5, 0.351852)Bottom point.
90Matches frame 0Return to the starting point.

INTERACTIVE EXAMPLE

Change a parameter. Compare the result.

INTERACTIVE EXAMPLE

Orbit

CONTROLLED INPUTTransform1 → Center
VIEWER · FORMULA EVALUATION1920 × 1080
X → · Y ↑ · radius 160 px
TEACHING VIEWER0045 f
0 f← → one frame at a time25 fps
VALUE GRAPH
XY
0.320.50.680 f90 f180 f
Select a point on the graph to go to that frame. Values are checked throughout the range.

An equal radius in pixels on both axes. Different denominators preserve a circle in a wide frame.

VALUE AT THIS FRAME 45Point(0.416667, 0.5)
CHECK THE DEPENDENCY

Change the radius. The circle must remain circular: X and Y values convert to pixels using different frame dimensions.

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

Blackmagic Design · Fusion Reference ManualThe chapter “Using Modifiers, Expressions, and Custom Controls”. Page numbers depend on the PDF edition.
Blackmagic Design · Modifiers referenceThe Modifiers section. Available commands depend on the input type and Fusion version.

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.