-
Wiggle with fixed intermediate values
Hello!
I need some help in my current project. I’m making a cg semi-realistic eye that has to look from side to side randomly. So I try to use “wiggle” for this purpose. But the actual eye works you know quickly changing its point of view and fixing in the direction for a moment. In the project the eye is actually a sphere where rotation is linked to null object position and an iris animation is done by reshape effect with Percent linked to null’s [x] scale value.
I’m not that good with expressions… So is there a way to write a script that would perform random life like behavior of the eye? Like “look right, stop, look other direction, stop; iris enlarges and stays this way for a longer time or changes its size depending on the direction like looking up – squeezes on bright light, looking down – enlarges”?
Thanks 🙂
Sphere rotation [x]:thisComp.layer("Null 1").transform.position[1]*-1
Null object expression for position:
wiggle(5, 20)