Difference between revisions of "Scale Layer"
From Synfig Studio :: Documentation
m (→About Scale Layers: typo) |
m |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
{{Title|Scale Layer}} | {{Title|Scale Layer}} | ||
{{Category|Layers}} | {{Category|Layers}} | ||
+ | {{Category|Transform}} | ||
{{NewTerminology}} | {{NewTerminology}} | ||
<!-- Page info end --> | <!-- Page info end --> | ||
Line 9: | Line 10: | ||
== About Scale Layers== | == About Scale Layers== | ||
− | A {{Literal|Scale Layer}} scales the size of any | + | A {{Literal|Scale Layer}} scales the size of any {{l|Primitive Layer|primitive layers}} ({{l|Region Layer|regions}}, {{l|Layer#Gradients|gradients}}, etc.) below it. {{Literal|Scale Layer}} is part of {{l|Layers#Transform|Transform Layers}} category. |
==Parameters of Scale Layers== | ==Parameters of Scale Layers== | ||
Line 29: | Line 30: | ||
|} | |} | ||
− | + | The Amount parameter may take the inverse of the exponential function (the natural log), as a raw value. For example: | |
− | + | ||
+ | * the natural log of 2.00 is 0.693147181, which up-scales to 200.0% | ||
+ | * the natural log of 1.00 is 0.0, which scales by 0.0% | ||
+ | * the natural log of 0.50 is -0.693147181, which down-scales to 50.0% | ||
+ | * the natural log of 0.10 is -2.302585092994045, which down-scales to 10.0% | ||
+ | * the natural log of 0.01 is -4.605170185988091, which down-scales to 1.0% | ||
The {{l|Origin Parameter|Origin}} is the center of the scale. | The {{l|Origin Parameter|Origin}} is the center of the scale. | ||
+ | |||
''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".'' | ''In versions prior to 0.63.05 Scale Layer was called "Zoom layer".'' |
Latest revision as of 12:55, 26 February 2017
About Scale Layers
A "Scale Layer" scales the size of any primitive layers (regions, gradients, etc.) below it. "Scale Layer" is part of Transform Layers category.
Parameters of Scale Layers
The parameters of the Scale Layers are:
Name | Value | Type |
Amount | 1.000000 | real |
Origin | 0.000000u,0.000000u | vector |
The Amount parameter may take the inverse of the exponential function (the natural log), as a raw value. For example:
- the natural log of 2.00 is 0.693147181, which up-scales to 200.0%
- the natural log of 1.00 is 0.0, which scales by 0.0%
- the natural log of 0.50 is -0.693147181, which down-scales to 50.0%
- the natural log of 0.10 is -2.302585092994045, which down-scales to 10.0%
- the natural log of 0.01 is -4.605170185988091, which down-scales to 1.0%
The Origin is the center of the scale.
In versions prior to 0.63.05 Scale Layer was called "Zoom layer".