Difference between revisions of "Star Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Gamming)
m (About Stars)
Line 1: Line 1:
 
== About Stars ==
 
== About Stars ==
  
An Star Layer is a geometric object that is made by the filled region of the result of connect 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 have the points rotated N/360/2 degrees from the other circle (being N the number of peaks or points).
+
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]]
 
[[Image:Star.png]]

Revision as of 22:45, 2 October 2007

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

Star.png

Specific Star Layer Parameters

The parameters of the star layers are the same than the majority of the shapes like objects but it have its specific parameters for its own properties.

The parameters of the Star Layers are:

StarLayerParams.png

Outer Radius

Define the circle where the peaks of the star lays.

Inner Radius

Define the circle where the valleys of the star lays.

Angle

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

Points

Define the number of division done in the circles and therefore the number of points and peaks that define the star.


Gamming

Outer radius shouldn't be greater than inner radius. It only changes the star orientation:

Inner radius = 40; outer radius = 60 Inner radius = 60; outer radius = 40
Star 40 60.png Star 60 40.png

Also you can play with negative values:

Inner radius = -40; outer radius = 60 Inner radius = 40; outer radius = -60
Star -40 60.png Star 40 -60.png


Even you can play with the Winding Style Parameter 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 40 -60 even.png Star -40 60 even.png

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

Star same radius.png


Languages Language: 

English