Using the scale layer

Hello community of Synfig
I would like to know how to use the scale layer, please help


from the Wiki

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
Type real icon.png Amount 1.000000 real
Type vector icon.png 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.

Who was pervert enough to implement Amount as a Logarithm? :stuck_out_tongue:
Like always, you could use a wrapping Group Layer instead (property Transform-Scale, the value is in Synfig units of 60px)
or you can use a converter on Amount from the Scale Layer:

  • Right-click on Amount
  • Convert / Logarithm
  • Expand Amount and set Link parameter as scale factor :wink:

thank you bobsynfig, i got it