-
Pendulum waves
Hi all.
I stumbled this video: https://www.youtube.com/watch?v=yVkdfJ9PkRQ
i was trying to recreate something like that using expressions.In brief: i need to have a series of pendulums swinging at a given frequncy (f) (let’s say 15 pendulums swinging each at a frequency from 51 to 65 oscillations per minute), and I need that the lenght of every pendulum’s arm depends on the frequency.
I’m not that good with expressions or with physics, so that is what I came out with, incomplete and not working:
I create a round shape with a masked solid, let’s say 60 pixels wide, and i wrote the following expressions for rotation and anchor point:Do my expressions make any sense?
How would you make it?
thanks.Alessandro
anchor point:f= effect("oscillations per minute")("Slider")/60;
T= 1/f;
g= effect("gravity")("Slider");
L= (T*T*g)/((4*Math.PI)*(4*Math.PI));anchorPoint[0],(anchorPoint[1]-L)]
rotation:
f= effect("oscillations per minute")("Slider");
T= 1/f;
g= effect("gravity")("Slider");
L= (T*T*g)/(4*(Math.PI*Math.PI));
maxAmp=effect("maxAmp")("Slider");Math.cos((time/T))*maxAmp
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.