Star Layer

From Synfig Studio :: Documentation
Revision as of 09:35, 13 May 2013 by D.j.a.y (Talk | contribs) (Somes of the screenshots needs to be updated with 0.64.0)

Jump to: navigation, search
Languages Language: 

English


Somes of the screenshots needs to be updated with 0.64.0

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).

Image:Star.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
Image:Star_40_60.png Image:Star_60_40.png

You can also play with negative values:

Inner Radius = -40; Outer Radius = 60 Inner Radius = 40; Outer Radius = -60
Image:Star_-40_60.png Image:Star_40_-60.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
Image:Star_40_-60_even.png Image:Star_-40_60_even.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)):

Image:Star_same_radius.png


Languages Language: 

English