-
Lock Scale within an expression
I am relatively new to scripting and am looking for a means to lock both parameters of a scale expression to equal each other, so that even though there is a random value assigned, x dimension= y dimension for every value given.
I current have the following in the scale parameter:
ease(time,wiggle(.5,2.7),wiggle(.5,2.7))
Which results in separately generated values for the x,y. Is it possible to get whatever values generated by this to provide a single value which is applied to both the x and y?
Based on my math experience from 10 years ago (need refresher courses), I am assuming that this may get it:
x=ease(time,wiggle(.5,2.7),wiggle(.5,2.7));
[x,x]
Would that be correct, can’t get that to work. I am assuming its syntax.