Circle

Circle Generator icon

The Circle Image Generator draws a perfectly smooth disk, ring or ellipse, procedurally and at any resolution. Because it is computed rather than drawn with points, its edges stay crisp at any size, and every setting can be animated, linked or driven by other Generators.

Use it for:


Quick Navigation



Creating and Connecting a Circle

Like any Image Generator, the Circle can be connected to any image parameter, for example:

The quickest way to create a layer with a Circle as its source is described in Adding Layers:

To use it with any other image parameter, such as a Mask, click the parameter's slot and choose Circle from the list of Generators on the right.

By default, you get a white disk with a Radius of 100 pixels, centered in the composition. The center of the circle is set by the Offset parameter, in pixels, relative to the center of the composition: positive X values move it to the right, positive Y values move it up.

Tip:

You can also move, scale and rotate the circle with the layer's Transform, like any other layer. Use Offset and Radius when you want the shape itself to change, for example to keep a stroke thickness constant while the circle grows.

Note:

The way you define the Color of the circle depends on the composition. When its Color Management is turned off, there is only one way to define a color. When it is set to OpenColorIO, every color parameter gets an extra Colorspace option, which tells in which colorspace the color is expressed. See Colorspace.

Disk or Ring: the Edge Mode

The Edge Mode menu decides whether the Circle is a filled disk or a ring, and how the ring is measured.

The three main Edge Modes: a filled disk, a ring defined by two radii, and a ring defined by a thickness.
Figure 1The orange line marks the Radius, the blue line marks the Edge Radius.
Then paste in the Project panel. Learn more
Note:

Only the parameter matching the current mode has an effect: Edge Radius is used in Edge Radius mode, and Thickness in the three thickness modes.

Keeping Proportions with the Radius Scaled Modes

In Thickness mode, the stroke keeps the same width in pixels whatever the Radius. This is what you want for a clean outline, but when the circle grows or shrinks during an animation, a fixed stroke can look too heavy on a small circle and too thin on a large one.

The Radius Scaled Thickness mode solves this by expressing the Thickness as a percentage of the Radius: with a Thickness of 20, the stroke is always 20% of the Radius, and the ring keeps its proportions at any size.

Top row: three rings with the same stroke width. Bottom row: three rings whose stroke grows with their radius.
Figure 2The same Thickness value in Thickness mode (top) and Radius Scaled Thickness mode (bottom).
Then paste in the Project panel. Learn more

The Radius Scaled Thickness & Feather mode goes one step further and also scales the Feather sizes with the Radius, so a soft ring keeps exactly the same look while its size is animated.

Tip:

To build a ripple, use Radius Scaled Thickness & Feather, animate the Radius from a small to a large value and fade the Color alpha out at the same time. The ring keeps its shape from start to finish, with no extra keyframes on Thickness or Feather.

Three Circle layers in Radius Scaled Thickness & Feather mode, offset by one second. Only Radius and the Color alpha are animated.
Then paste in the Project panel. Learn more

Soft Edges with Feather

Two parameters soften the edges of the circle:

A disk with a soft outer edge, a ring with a soft inner edge, and a ring with both edges softened.
Figure 3The orange lines mark the edges before feathering.
Then paste in the Project panel. Learn more

The feather is centered on the edge: it fades out on both sides of it, so the circle keeps the same apparent size while you soften it. Large Feather Outer Size values on a filled disk turn the Circle into a soft spot of light, ideal for glows and spotlights.

Note:

A filled disk (Edge Mode set to None) has no inner edge, so Feather Inner Size has no effect on it. Switch to one of the ring modes to use it.

Inverting the Circle: Holes and Vignettes

Enabling Invert swaps the inside and the outside of the circle: the color fills everything around the circle, and the circle itself becomes a transparent hole. This is useful to cut a round hole in a solid color, or to create a vignette, as described below.

The result depends on the Output Format, which defines the size of the image produced by the Generator:

Left: an inverted circle with Auto output format fills only a square. Right: with Unbounded output format it fills the whole frame.
Figure 4The same inverted, feathered circle with two different Output Formats.
Then paste in the Project panel. Learn more
Warning:

When you enable Invert, do not keep the Output Format on Auto: the inverted color would be clipped to a square around the circle, as shown on the left of Figure 4. Use Unbounded to keep a round hole, or Composition Format to create a vignette.

Creating a Vignette

A vignette darkens the edges of the frame to draw the eye to the center. The Circle creates one in a few clicks:

  1. Add a Circle layer on top of your composition.
  2. Enable Invert, and set the Color to black.
  3. Set the Output Format to Composition Format. The circle becomes an ellipse that touches the four edges of the frame (see Drawing an Ellipse), so the vignette always follows the shape of your composition.
  4. Increase Feather Outer Size until the darkening fades smoothly toward the center.

Use the alpha of the Color to control the strength of the vignette: lower values let more of the image show through in the corners. For a rectangular vignette with rounded corners, use the Constant Generator instead.

A grid darkened toward the edges of the frame by an inverted, feathered ellipse.
Figure 5Invert on, Composition Format, Feather Outer Size 400, black Color with an alpha of 0.85.
Then paste in the Project panel. Learn more

Drawing an Ellipse

When Output Format is set to Format Preset, Composition Format or Custom Format, the Circle behaves differently: it ignores Radius and Offset, and draws the largest ellipse that fits inside that format. This gives you an ellipse whose width and height you control independently.

Three ellipses drawn inside orange rectangles: filled, with a thickness, and with an outer feather.
Figure 6Ellipses drawn with a Custom Format. Edge Mode and Feather still apply.
Then paste in the Project panel. Learn more
Tip:

Animate the Format rectangle in Custom Format mode to squash and stretch the ellipse, for example to give a bouncing ball its impact deformation.

Motion Blur

When the circle moves quickly, because its Offset or Radius is animated, the Circle can render its own motion blur. Increase Divisions to enable it: this is the number of samples taken during the shutter interval, and higher values give a smoother blur at the cost of render time. Shutter Angle sets the length of the blur, and Shutter Phase sets when the shutter opens relative to the current frame. See Motion Blur for more details.


Controls

Parameter / Script Name Type Default Function
Enabled / enabled Boolean On Turns the Generator on or off. When off, the Generator produces an empty image.
Output Format / output_format_mode Choice Auto Defines the size of the generated image. See Inverting the Circle and Drawing an Ellipse.
- Unbounded: The image has no limits. Use it with Invert.
- Format Preset: Draws an ellipse fitting the selected preset.
- Composition Format: Draws an ellipse fitting the composition.
- Custom Format: Draws an ellipse fitting the Format rectangle.
- Auto: The image fits the circle, including its feather.
Format / format_preset Choice HD (1920x1080) The format used when Output Format is set to Format Preset.
- PC VIDEO (640x480)
- NTSC (720x486:0.91)
- PAL (720x576:1.09)
- NTSC 16:9 (720x486:1.21)
- PAL 16:9 (720x576:1.46)
- QHD (960x540)
- LHD (1280x720)
- HD (1920x1080)
- VHD (1080x1920)
- UHD 4K (3840x2160)
- VUHD 4K (2160x3840)
- UHD 8K (7680x4320)
- Super35 1K FULL AP (1024x778)
- Cinemascope 1K (914x778:2.00)
- Super35 2K FULL AP (2048x1556)
- Cinemascope 2K (1828x1556:2.00)
- DCP 2K (2048x1080)
- Super35 4K FULL AP (4096x3112)
- DCP 4K (4096x2160)
- Square 256 (256x256)
- Square 512 (512x512)
- Square 1K (1024x1024)
- Square 2K (2048x2048)
Format / formatRect Float 4D -500, -500, 500, 500 The rectangle used when Output Format is set to Custom Format, as left, bottom, right and top edges in pixels from the center of the composition.
Pixel aspect / par Float 1 The pixel aspect ratio of the generated image.
Offset / offset Float 2D 0, 0 Position of the center of the circle, in pixels from the center of the composition. Positive Y values move the circle up.
Radius / radius Float 100 Radius of the circle, in pixels. In Edge Radius mode, this is the outer edge of the ring.
Color / color Color 1, 1, 1, 1 Color and opacity of the circle.
Colorspace / input_colorspace Choice Project Display Space Only available when the composition's Color Management is set to OpenColorIO. The colorspace in which the colors of this Generator are expressed.
- Project Working Space: The color is assumed to be expressed in the project working space
- Project Display Space: The color is assumed to be expressed in the project display space
Edge Mode / circle_edge_mode Choice None Chooses between a filled disk and a ring. See Disk or Ring.
- None: Draw a filled disk.
- Edge Radius: Draw a circle by specifying the inner and outer edge radii.
- Thickness: Draw a circle by specifying its radius and the stroke thickness.
- Radius Scaled Thickness: Draw a circle by specifying its radius and the stroke thickness, and scale the thickness by the radius.
- Radius Scaled Thickness & Feather: Draw a circle by specifying its radius and the stroke thickness, and scale the thickness and feather size by the radius.
Thickness / thickness Float 10 Stroke thickness, centered on the Radius. In pixels in Thickness mode, and as a percentage of the Radius in the Radius Scaled modes.
Edge Radius / edge_radius Float 10 Inner edge radius, in pixels. Only used in Edge Radius mode.
Feather Outer Size / feather_outer_size Float 0 Softness of the outer edge. The feather is centered on the edge.
Feather Inner Size / feather_inner_size Float 0 Softness of the inner edge of a ring. Has no effect when Edge Mode is None.
Invert / invert Boolean Off Fills the area outside the circle instead of the inside. Use with Output Format set to Unbounded to fill the whole frame.
Divisions / divisions Float 1 The number of samples to use for the motion-blur. The higher the number is, the more accurate is the motion-blur when large motion is involved, but the slower it is to render.
Shutter Angle / shutterAngle Float 180 The shutter angle controls the time period over which light can pass. A wider angle increases motion-blur
Shutter Phase / shutterPhaseType Choice Centered - Centered: The shutter opens half the shutter duration before the current time and closes half the shutter duration after
- Start: The shutter opens at the current time and closes after the shutter duration is elapsed
- End: The shutter opens at the current time minus the shutter duration and closes at the current time
- Custom: The shutter opens at the time determined by a custom phase: the phase is an offset on the shutter angle, assuming the shutter opens at 0
Custom Phase / customPhase Float -90 An offset to the shutter angle, assuming the shutter opens at 0: A Shutter angle of 180 with a phase of -90 means that the shutter will be opened half a frame, centered around the current time