Properties to use
Bend (Effect setting)
loopTime = 10; // Loop duration in seconds
amp = 10; // Amplitude of the bend (maximum bend angle)
freq = 3 / loopTime; // Frequency (how many bends per loop time)
// Create a smooth sine wave that oscillates over the loop time
bendAngle = Math.sin(time * Math.PI * 2 * freq) * amp;
bendAngle;
/* Adjust value of "LoopTime, amp, freq" according to your requirement */
How to Use?
Open After Effects:
- Launch Adobe After Effects and open or create a new composition.
Select the Layer/Effect:
- Choose the layer or object that you want to apply the Bandio plugin’s bend property to (e.g., a shape, text, or solid).
Apply the Bandio Plugin:
- Apply the Bandio plugin to your selected layer.
Access the Bend Property:
- Find the bend property in the Bandio plugin settings and expand it to reveal its keyframes.
Enable Expressions on the Bend Property:
- Alt-click (Option-click on Mac) the stopwatch next to the bend property to open the expression editor.
Enter the Expression:
- Copy and paste the sine wave expression into the expression editor.
Adjust the Parameters:
- Set the following values:
loopTime = 10;
(Adjusts the loop duration in seconds).amp = 10;
(Controls the intensity of the bend).freq = 3 / loopTime;
(Controls the speed of the oscillation).
Preview the Animation:
- Press Spacebar to preview your animation. The bend should oscillate smoothly based on the sine wave.
Done:
- Your bend property is now linked to the sine wave expression, creating a smooth oscillating effect.