Search found 139 matches

by Mylenium
June 26th, 2009, 1:20 am
Forum: Expression Discussion
Topic: get coordinates of the vertices of a shape layer or a mask
Replies: 7
Views: 25047

Re: get coordinates of the vertices of a shape layer or a mask

stefman wrote: Now, I'am trying to transform the script to an expression which I could apply to the source of a text layer.
Expressions cannot access mask data. Use the script, dump the result to a text file, copy&paste to your text layer.

Mylenium
by Mylenium
May 9th, 2009, 9:09 am
Forum: Expressions Library
Topic: Random Hold opacity
Replies: 3
Views: 28241

Re: Random Hold opacity

barrypsuydam wrote:I was wondering if anyone knows how to randomize opacity but while fully opaque hold for random time(1 or 2 sec) then continue.
Math.round in combination with a wiggle() or as an alternative, random() used with an array and combined with posterizeTime().

Mylenium
by Mylenium
May 9th, 2009, 9:05 am
Forum: Scripts Discussion
Topic: Pixel painting with jsx
Replies: 1
Views: 5819

Re: Pixel painting with jsx

Forgive me, but that's a rather nonsensical approach. All you need for detecting gaps are a plug-ins like RevisionFX SmoothKit and Re:Fill . If you really must craft your own code, use Pixel Bender , which AE CS4 fully supports. and for what it's worth: If you want help on specific code problems, yo...
by Mylenium
March 5th, 2009, 3:32 am
Forum: Expression Discussion
Topic: Time offset an expression in AE (+ bonus question!)
Replies: 1
Views: 9089

Re: Time offset an expression in AE (+ bonus question!)

Composition markers appear as layer markers when nesting the comps. The rest: time+180 (AE thinks in seconds, so 3min = 180sec). Splitting the layer is simpler, though.

Mylenium
by Mylenium
March 5th, 2009, 3:29 am
Forum: Expression Discussion
Topic: parenting a marker to a keyframe
Replies: 1
Views: 7626

Re: parenting a marker to a keyframe

Expressions cannot set persistent properties. They just modify existing ones on the fly. Use a text layer overlay.

Mylenium
by Mylenium
March 5th, 2009, 3:23 am
Forum: Scripts Discussion
Topic: Getting X,Y,Z position of character animated by text effects
Replies: 2
Views: 8196

Re: Getting X,Y,Z position of character animated by text effects

In so many words: No. You would have to write your own code to calculate the font glyph box and based thereon the relative positions, which can be influenced by a bazillion of secondary things (metric vs. visual alignment, faux bold, caps etc.). In addition, you'd still have to find the actual size ...
by Mylenium
January 10th, 2009, 2:53 am
Forum: Expression Discussion
Topic: Expression for underlining words in a text row?
Replies: 3
Views: 12997

Re: Expression for underlining words in a text row?

Expressions cannot modify text display properties or generate pixels - plain and simple. And I don't think your attempts at throwing sampleImage() in the pot really have any value beyond what you could do with text animators, which IMO is the solution you should look into. After all, they can be mad...
by Mylenium
November 26th, 2008, 5:32 am
Forum: Script requests
Topic: Lightwave to AE (and back)
Replies: 1
Views: 6724

Re: Lightwave to AE (and back)

Check the Script Library on this forum. There's a 3D exchange script that also includes LW support.

Mylenium
by Mylenium
November 26th, 2008, 5:31 am
Forum: Script requests
Topic: Translate text in AEFX
Replies: 2
Views: 8432

Re: Translate text in AEFX

Translate? I think not. You certainly can replace lines of text, but that's as good as it gets. Even then you have to know which lines of text you want to replace, their layer indices, the times at which they change etc.. there are soem scripts floating around for subtitles, maybe you can put one of...
by Mylenium
November 26th, 2008, 5:29 am
Forum: Expression Discussion
Topic: must be scalar error
Replies: 2
Views: 12052

Re: must be scalar error

Yepp, time is what you are looking for, not value.

Mylenium
by Mylenium
November 26th, 2008, 5:27 am
Forum: Expression Discussion
Topic: how can i distribute circle shape layers "helix"
Replies: 3
Views: 10380

Re: how can i distribute circle shape layers "helix"

Code: Select all

sRev=12; //number of elements per revolution
sAng=degreesToRadians(360/segRev);
sRad=50; //helix radius
sOff=20; //helix offset

X=Math.sin(sAng*index)*sRad;
Y=sOff*(index-1);
Z=Math.cos(sAng*index)*sRad;

[X,Y,Z]
Mylenium
by Mylenium
November 10th, 2008, 12:42 pm
Forum: Scripts Discussion
Topic: What is stack overrun?
Replies: 2
Views: 9422

Re: What is stack overrun?

What are you doing in your script? There must be a reason for the leaky behavior...

Mylenium
by Mylenium
November 10th, 2008, 12:39 pm
Forum: Scripts Discussion
Topic: app.project.save(file) save copy alternative?
Replies: 7
Views: 12589

Re: app.project.save(file) save copy alternative?

You could just load the original project after you saved your copy...

Mylenium
by Mylenium
November 10th, 2008, 12:35 pm
Forum: Script requests
Topic: Apply animation preset
Replies: 3
Views: 10394

Re: Apply animation preset

You may need to escape the path delimiters and convert the spaces.

Mylenium
by Mylenium
November 10th, 2008, 12:30 pm
Forum: Script requests
Topic: scale dock Apple style?
Replies: 2
Views: 9765

Re: scale dock Apple style?

http://www.aenhancers.com/viewtopic.php?f=2&t=854

Principles are the same.

Mylenium