Star Layer

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Text replace - '[[' to '{{l|')
m (Text replace - ']]' to '}}')
Line 1: Line 1:
 
<!-- Page info -->
 
<!-- Page info -->
 
{{Title|Star Layer}}
 
{{Title|Star Layer}}
{{l|Category:Layers]]
+
{{l|Category:Layers}}
 
<!-- Page info end -->
 
<!-- Page info end -->
 
== About Stars ==
 
== About Stars ==
Line 7: Line 7:
 
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).
 
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).
  
{{l|Image:Star.png]]
+
{{l|Image:Star.png}}
  
 
== Specific Star Layer Parameters ==
 
== Specific Star Layer Parameters ==
Line 16: Line 16:
 
{| border = "1" cellpadding="2"
 
{| border = "1" cellpadding="2"
 
!width = "250" align="left"|
 
!width = "250" align="left"|
* {{l|Z Depth Parameter|Z Depth]]
+
* {{l|Z Depth Parameter|Z Depth}}
* {{l|Amount Parameter|Amount]]
+
* {{l|Amount Parameter|Amount}}
* {{l|Blend Method]]
+
* {{l|Blend Method}}
* {{l|Colors Dialog|Color]]
+
* {{l|Colors Dialog|Color}}
* {{l|Position Parameter|Position]]
+
* {{l|Position Parameter|Position}}
* {{l|Invert Parameter|Invert]]
+
* {{l|Invert Parameter|Invert}}
* {{l|Antialiasing Parameter|Antialiasing]]
+
* {{l|Antialiasing Parameter|Antialiasing}}
* {{l|Feather Parameter|Feather]]
+
* {{l|Feather Parameter|Feather}}
* {{l|Feather Parameter#Type_of_Feather|Type of Feather]]
+
* {{l|Feather Parameter#Type_of_Feather|Type of Feather}}
* {{l|Winding Style Parameter|Winding Style]]
+
* {{l|Winding Style Parameter|Winding Style}}
* {{l|#Outer Radius| Outer Radius]]
+
* {{l|#Outer Radius| Outer Radius}}
* {{l|#Inner Radius| Inner Radius]]
+
* {{l|#Inner Radius| Inner Radius}}
* {{l|#Angle | Angle]]
+
* {{l|#Angle | Angle}}
* {{l|#Points | Points]]
+
* {{l|#Points | Points}}
| {{l|Image: StarLayerParams.png]]
+
| {{l|Image: StarLayerParams.png}}
 
|}
 
|}
  
Line 58: Line 58:
 
|Inner radius = 40; outer radius = 60 || Inner radius = 60; outer radius = 40  
 
|Inner radius = 40; outer radius = 60 || Inner radius = 60; outer radius = 40  
 
|-
 
|-
|{{l|Image:Star_40_60.png]] || {{l|Image:Star_60_40.png]]
+
|{{l|Image:Star_40_60.png}} || {{l|Image:Star_60_40.png}}
 
|}
 
|}
  
Line 66: Line 66:
 
|Inner radius = -40; outer radius = 60 || Inner radius = 40; outer radius = -60  
 
|Inner radius = -40; outer radius = 60 || Inner radius = 40; outer radius = -60  
 
|-
 
|-
|{{l|Image:Star_-40_60.png]] || {{l|Image:Star_40_-60.png]]
+
|{{l|Image:Star_-40_60.png}} || {{l|Image:Star_40_-60.png}}
 
|}
 
|}
  
 
=== Winding Style Hacks ===
 
=== Winding Style Hacks ===
  
You can even play with the {{l|Winding Style Parameter]] and negative values to obtain some effects:
+
You can even play with the {{l|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  
 
|Inner radius = 40; outer radius = -60; WS=even/odd || Inner radius = -40; outer radius = 60; WS=even/odd  
 
|-
 
|-
|{{l|Image:Star_40_-60_even.png]] || {{l|Image:Star_-40_60_even.png]]
+
|{{l|Image:Star_40_-60_even.png}} || {{l|Image:Star_-40_60_even.png}}
 
|}
 
|}
  
 
=== Regular 2N-sided Polygons ===
 
=== Regular 2N-sided Polygons ===
  
Also you can {{l|Linking|link]] both radii to create a 2*N sided regular {{l|Polygon Layer|polygon]], where N is the number of points (3 points for this case (six sides)):
+
Also you can {{l|Linking|link}} both radii to create a 2*N sided regular {{l|Polygon Layer|polygon}}, where N is the number of points (3 points for this case (six sides)):
  
{{l|Image:Star_same_radius.png]]
+
{{l|Image:Star_same_radius.png}}

Revision as of 09:25, 8 September 2009

Languages Language: 

English


Layers

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