YOUR ACCOUNT

Polygon 2.001

This component is obsolete and its use in filters is not recommended. Use the recent version of the component.

The Polygon component generates a polygon or a star with an arbitrary number of sides. The colors of the polygon and the background can be customized using the Color and Background parameters. This is a map component, it can be located in the Patterns category on the Components Bar. This component can output HDR colors.You cannot freely control the polygon coordinates because this component is seamless. A similar non-seamless component with unrestricted coordinates, Free Polygon, can be used instead.

Color: Map Input (HDR)

Defines the polygon color. This input can accept HDR colors. Color is a so-called 'seamlessizer input' – it can safely accept connections from non-seamless components without preventing the resulting filter from generating seamlessly-tiled results.

Background: Map Input (HDR)

Defines the background color. This input can accept HDR colors.

Radius: Map Input

Defines the radius of the circle circumscribed around the polygon. Since Radius is a map input, its value can be controlled separately for different image areas by connecting a map component.

Star: Map Input

Turns the polygon into a star. When Star is zero, the polygon is convex.

Rotation: Map Input

Specifies the angle of rotation in degrees. Since Rotation is a map input, its value can be controlled separately for different image areas by connecting a map component.

Squash: Map Input

Specifies how the polygon is squashed, i.e. the non-uniformity of flattening along the axes. The value of 0 corresponds to the regular polygon, while negative values squash the shape horizontally, and positive values squash it vertically. Since Squash is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.

Outer Corners: Map Input

Defines how rounded the outer corners of the polygon are. With Outer Corners of 0, the corners of the polygon will be sharp, with no rounding. With Outer Corners of 100, the corners will be fully rounded. Since Outer Corners is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.

Inner Corners: Map Input

Defines how rounded the inner corners of the polygon are. With Inner Corners of 0, the corners of the polygon will be sharp, with no rounding. With Inner Corners of 100, the corners will be fully rounded. This parameter has no effect when Star is 0. Since Inner Corners is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.

Bevel Width: Map Input

Defines the width of the polygon bevel. The less the bevel width, the sharper the polygon edges. When Bevel Width is zero, the transition zone between Color and Background disappears completely. When Bevel Width is 100, it fills the entire polygon area. Since Bevel Width is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.

Sides: Numeric Input

Adjusts the number of the polygon sides from 3 to 100.

Fit Radius: Numeric Input

When Fit Radius is turned off, increasing the Outer Corners value for a star will decrease the overall polygon radius. To prevent this, turn Fit Radius on – this way, the star corners will "touch" the circle circumscribed around the polygon.

Bevel: Curve Input

Defines the bevel profile of the polygon (the transition between Color and Background). When Bevel Width is zero, this parameter has no effect. Three predefined bevel profiles are available: Linear, Smooth, and Contours. To customize the bevel profile, connect a curve component to this input.

For best results, the curve connected to the Bevel input should start at 0 and end at 100% – curves like Linear, Step, Gain and Stairs are perfect choices, while curves like Noise or Wave will require additional adjustments or modifications (for example, you can use the Fade component to force the start and end of any curve into desired positions).