Star Layer

From Synfig Studio :: Documentation
Jump to: navigation, search
Languages Language: 

English


Layer geometry star icon.png

About Star Layers

A "Star Layer" is a geometric object that is made by the filling the region resulting from connecting the points of two concentric circles with straight lines. The number of points on which the circles are divided defines the number of peaks of the star. The points over the circles are spread regularly over both circles but one of them has the points rotated N/360/2 degrees from the other circle (being N the number of peaks or points).

Star Layer 0.63.06.png

Parameters of Star Layers

The parameters of the star layers are:

Name Value Type
Type real icon.png Z Depth 0.000000 real
Type real icon.png Amount 1.000000 real
Type integer icon.png Blend Method Composite integer
Type gradient icon.png Color
color
Type vector icon.png Origin 0.500000u,0.000000u vector
Type bool icon.png Invert
bool
Type bool icon.png Antialiasing
bool
Type real icon.png Feather 0.500000u real
Type integer icon.png Type of Feather Fast Gaussian Blur integer
Type integer icon.png Winding Style Non Zero integer
Type real icon.png Outer Radius 1.500000u real
Type real icon.png Inner Radius 0.500000u real
Type angle icon.png Angle 0.00 angle
Type integer icon.png Points 5 integer
Type bool icon.png Regular Polygon
bool


The parameters of the star layers are the same as the majority of the shape-like objects but it has specific parameters for its own properties.

Outer Radius

Defines the radius of the circle where the peaks of the star lay.

Inner Radius

Defines the radius of the circle where the valleys of the star lay.

Angle

Is the rotation angle for the first peak of the star. Its default value is 90 degrees.

Points

Defines the number of divisions done in the circles and therefore the number of points and peaks in the star.

Playing Around

Crazy Radii

The "Outer Radius" shouldn't be greater than "Inner Radius". It only changes the star's orientation:

Inner Radius = 40; Outer Radius = 60 Inner Radius = 60; Outer Radius = 40
Star Layer 40-60 0.63.06.png Star Layer 60-40 0.63.06.png

You can also play with negative values:

Inner Radius = -40; Outer Radius = 60 Inner Radius = 40; Outer Radius = -60
Star Layer m40-60 0.63.06.png Star Layer 60-m40 0.63.06.png

Winding Style Hacks

You can even play with the Winding Style Parameter and negative values to obtain some effects:

Inner Radius = 40; Outer Radius = -60; WS=even/odd Inner Radius = -40; Outer Radius = 60; WS=even/odd
Star Layer m40-60 ws 0.63.06.png Star Layer 60-m40 ws 0.63.06.png

Regular 2N-sided Polygons

Also you can link both radii to create a 2*N sided regular polygon, where N is the number of points (3 points for this case (six sides)):

Star Layer Radius Linked 0.63.06.png


Languages Language: 

English