Star Layer

From Synfig Studio :: Documentation
Jump to: navigation, search
m (cleanup param list)
Line 108: Line 108:
  
 
|}
 
|}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  

Revision as of 11:35, 19 June 2011

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

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 Tyep 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 Ragular 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