Is there any way to make these expressions loopable? I would like the position and rotation to come back to the original starting point so that it makes a perfect loop cycle.
Re: Finding a loop point in an Expression by Dan Ebberts on Jun 28, 2008 at 9:33:36 pm
I think you'd need to pick your 3 frequencies so that they are harmonically related to get any kind of reasonable loop time. Right now you have two true "frequency" values (where you have the Math.PI*2 multiplier in the wave calc) and one where you haven't done that, so I think the calculation for how often the waves all get back to their starting positions at the same time will be ugly.
Let's say you set it up where your frequencies are 1, .5, and 1/3 (for example). That gives you periods of 1 sec, 2 sec, and 3 sec. The lowest common denominator for that would be 6 sec, so your animation would loop every six seconds.
Re: Finding a loop point in an Expression by David Rodriguez on Jun 29, 2008 at 2:16:39 am
[Dan Ebberts]"Right now you have two true "frequency" values (where you have the Math.PI*2 multiplier in the wave calc) and one where you haven't done that..."
Is it the sway frequency that lacks the Math.PI*2 multiplier?
Can I change the math in that part to match the others?
I am confused here, sorry for my lack of understanding in this area.