I'm totally new to expressions, and have what I think is a fairly simple question.
I want to create an animation of circles simulating rising bubbles, as if opening a can of soda.
These 'bubbles' should then be evenly distributed on the screen, and over time.
Resulting in a continuous flow of bubbles. Of course I could to this manually with keyframes.
But it would be great to have an expression on a looped position animation, with a random speed and random interval.
Then I would just have to add a big number of the same layer to get a good result, or at least I hope so!
I am familiar with Trapcode Particular, but that does not work in this case since the bubbles have to be individual layers.
Looking very much forwards to any solutions or suggestions.
on Nov 22, 2018 at 5:32:28 pm Last Edited By Kalleheikki Kannisto on Nov 22, 2018 at 5:38:03 pm
This would be a combination of loopOut() with two keyframes and an additional wiggle for position. Animate one bubble that goes from the bottom to the top (outside the frame at both ends) and add this expression to the position
Then you can control the speed of individual layers by moving the second keyframe and the amount of randomity by adjusting the wiggle settings.
To offset a bubble in time, drag the layer on the timeline so it starts before frame one.
Offsetting both position keyframe at the same time can be a bit tricky if you're not used to it: Put the current time indicator on a position keyframe, select all position keysframes (by clicking on "position") and offset the x value by dragging the X value.