Search found 8 matches

by Magua
November 7th, 2014, 4:13 pm
Forum: Expression Discussion
Topic: Show Layer ID
Replies: 1
Views: 8675

Show Layer ID

I feel like getting this info on a layer should be fairly straightforward, but maybe I'm wrong.... how would I go about getting this info? Right now, I've got this in the Source Text property "NAME: " + thisComp.layer(index+1).name + "\r" + "INDEX: " + thisComp.layer(in...
by Magua
February 3rd, 2014, 7:17 pm
Forum: Expression Discussion
Topic: Weighted Directional Random Movement
Replies: 2
Views: 10356

Re: Weighted Directional Random Movement

Also, I think another approach would be to limit the max values in two directions, and then customize those values depending on what area of the ring the shape is... so for instance, if it's in the lower right corner, place upper (smaller) limits for the positive x values, and the negative y values ...
by Magua
February 3rd, 2014, 4:30 pm
Forum: Expression Discussion
Topic: Weighted Directional Random Movement
Replies: 2
Views: 10356

Weighted Directional Random Movement

I have a comp setup where I'm running some sims in Newton. Basically, it's a large ring as an outer boundary/boarder and then some smaller shapes on the inside. Those shapes on the inside have a large random drift applied to them wiggle(.2,200) . Currently, shapes that have starting positions near t...
by Magua
January 22nd, 2014, 11:39 am
Forum: Expression Discussion
Topic: Wiggle on Top of a Wiggle... Starting From Initial Position
Replies: 2
Views: 9558

Re: Wiggle on Top of a Wiggle... Starting From Initial Posit

Ah, got it - thanks Paul. What you're saying about the value makes sense now and thanks for clarifying the time parameter. I plugged your code into the comp and while it worked for keeping the initial position intact, it didn't add the "vibration" wiggle on top of the larger "drifting...
by Magua
January 21st, 2014, 4:19 pm
Forum: Expression Discussion
Topic: Wiggle on Top of a Wiggle... Starting From Initial Position
Replies: 2
Views: 9558

Wiggle on Top of a Wiggle... Starting From Initial Position

Hi All, So I've been able to piece part of this together, but there's a portion that eludes me and I'm wondering if others could help out. Basically, I'm looking to add a large drifting motion to a shape layer and then on top of that, have it "vibrate", but all taking place within the Posi...
by Magua
January 21st, 2014, 2:53 pm
Forum: Expression Discussion
Topic: Preserve Initial Layer Position Prior to Wiggle
Replies: 4
Views: 17859

Re: Preserve Initial Layer Position Prior to Wiggle

Ah, got it... I didn't understand the syntax then. Thanks so much for the help Dan, it's really appreciated.

Cheers
by Magua
January 21st, 2014, 2:36 pm
Forum: Expression Discussion
Topic: Preserve Initial Layer Position Prior to Wiggle
Replies: 4
Views: 17859

Re: Preserve Initial Layer Position Prior to Wiggle

Wow, lightning fast reply Dan. Yep, this works perfectly - thanks a lot, I really appreciate it. I'm wondering if you don't mind walking me through a portion of this expression though, just so I understand it. I get everything up until "wiggle(freq,amp,1,.5,inPoint)" in the third line, and...
by Magua
January 21st, 2014, 2:19 pm
Forum: Expression Discussion
Topic: Preserve Initial Layer Position Prior to Wiggle
Replies: 4
Views: 17859

Preserve Initial Layer Position Prior to Wiggle

Hi All, I'm a bit of a beginner in expressions, but I'm looking for a way to keep the initial position of a layer when adding a wiggle expression to it. Let me try and illustrate what I'm meaning. Basically, say I have a circular shape layer at position 960,540 (centered). When I add the expression ...