Thanks alot, this works very well.
If you have the time could you parse these expressions for me so as to explain what each section does?
For this expression:
w1 = wiggle(5,40) – value;
w2 = clamp(w1,[-40,-40],[40,0])
value + w2
My understanding is that the first two lines you are setting up variables.
What is “value”.
So w1 establishes the wiggle?
and w2 establishes the clamp? the first part of the Clamp array is w1 establishing the value of the clamp
and then the second is the lower limit in x,y (if it were a 3D layer we would need x,y,z, correct?)
and then the upper limit
I dont understand the third line or how exactely the “floor” has been established.
this expression:
w = wiggle(5,40) – value;
value + [w[0],-Math.abs(w[1])
starts like the first one but the second line is perplexing.
I would also love to link another layer, a shadow layer made with masks, to react to the wiggle of the “box” layer so that it shifts in x position with the box and also the mask expands and feathers the further away from the floor the box is.
Am I only dreaming?
thanks so much