Pulsing Scale

Creates a pulsing effect by oscillating the layer's scale.

Code

amp = 10;
freq = 2;
[value[0] + Math.sin(time * freq) * amp, value[1] + Math.sin(time * freq) * amp]
scalepulseanimation

How to Use

Apply this to the Scale property to generate a subtle pulsing (breathing) effect. Tweak the amplitude and frequency to suit your design.