Star Layer

From Synfig Studio :: Documentation
Revision as of 18:11, 13 January 2010 by Zelgadis (Talk | contribs) (Text replace - '{{l|Category:' to '{{Category|')

Jump to: navigation, search
Languages Language: 

English


About Stars

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

Specific Star Layer Parameters

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.

The parameters of the Star Layers are:

Image: StarLayerParams.png

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