Search found 128 matches

by kobyg
January 10th, 2009, 2:11 pm
Forum: Expression Discussion
Topic: Expression for underlining words in a text row?
Replies: 3
Views: 13058

Re: Expression for underlining words in a text row?

Check out Paul's SSA Karaoke Animator script in this forum:
viewtopic.php?f=9&t=380
Maybe it could help you.
by kobyg
January 6th, 2009, 5:29 am
Forum: Expression Discussion
Topic: Calculate angle between Object and Camera in 3D
Replies: 7
Views: 21339

Re: Calculate angle between Object and Camera in 3D

You could also try the "lookAt" function, for calculating the x,y,z angles between 2 points in 3d space and the "length" function, for calculating the distance between 2 points. for example: C = thisComp.layer("Camera 1"); ANGL = lookAt(position, C.position); DIST = len...
by kobyg
December 14th, 2008, 2:40 pm
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25844

Re: The Source Code To Wiggle?

Tha't actualy changes the frequency of the COS wave.
Let me know if it works better for you...
by kobyg
December 13th, 2008, 3:40 pm
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25844

Re: The Source Code To Wiggle?

Atomic, If the COS works for you, you could try adding another one or two COS to the expression, that would give a more interesting and "random" like movement. You could try something like this: r = (math.cos(localTime*passedFrequency) * amplitude) + (math.cos(localTime*passedFrequency*2.8...
by kobyg
December 12th, 2008, 4:56 pm
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25844

Re: The Source Code To Wiggle?

The expression you wrote would not create the smooth but random wiggle motion. What you wrote would look more like of a looping motion with sudden small jumps. I don't know Blender, but from the brief explanation of the Blender functions you've sent, I think those 2 might do something similar to wha...
by kobyg
December 11th, 2008, 1:14 pm
Forum: General Scripts Library
Topic: Pixie Army - Color Matrix Displacer
Replies: 8
Views: 40703

Re: Pixie Army - Color Matrix Displacer

Works great now !
Love it !
Thank you for sharing !

Koby
by kobyg
December 11th, 2008, 9:45 am
Forum: General Scripts Library
Topic: Pixie Army - Color Matrix Displacer
Replies: 8
Views: 40703

Re: Pixie Army - Color Matrix Displacer

I get an error message:
"Unable to execute script at line 19. Expected : ]"
by kobyg
December 11th, 2008, 9:38 am
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25844

Re: The Source Code To Wiggle?

From my experience with random functions, Perlin Noise is the mathematical model of the wiggle expression. The Perlin noise adds few noise levels (random sequences) at doublly increasing frequency on each level. Lower frequency noise is generated by larger interpolation. Adding those with decreasing...
by kobyg
December 10th, 2008, 4:35 pm
Forum: Expression Discussion
Topic: The Source Code To Wiggle?
Replies: 11
Views: 25844

Re: The Source Code To Wiggle?

Atomic,
I don't know exactly what they are doing, but from the behaviour I think it should be similar to a Fractal Noise, known also as Perlin Noise.
Check out this website for a good explanation and mathematics of the Perlin Noise:
http://freespace.virgin.net/hugo.elias/ ... perlin.htm

Koby.
by kobyg
December 10th, 2008, 11:38 am
Forum: General Scripts Library
Topic: Pixie Army - Color Matrix Displacer
Replies: 8
Views: 40703

Re: Pixie Army - Color Matrix Displacer

I've just checked it, and it looks awsome !
Great work !
I Loved the progress bar too... :)

What should be the difference at the FAST mode ?

Koby.
by kobyg
December 7th, 2008, 10:43 am
Forum: Script requests
Topic: random distributed in 3d
Replies: 1
Views: 6636

Re: random distributed in 3d

Add a Null, make it 3D, and position it where you want the center to be (call it "Null 1"). Then apply this expression for the Position of the layers: (this will place them randomly around the Null, at maximum distance of +/- 200 pixels in [X,Y,Z] from it) seedRandom(index,true); thisComp....
by kobyg
December 7th, 2008, 10:09 am
Forum: Expression Discussion
Topic: Reverse Scale
Replies: 2
Views: 9088

Re: Reverse Scale

If I understood correctly, I think he needs something different.
Try using: 10000/scale
where the scale is taken from the tracker, and applied to the tracked layer.
This will make smaller scale to grow (for example half size scale of 50%, would become doubly big: 200%).

Koby.
by kobyg
December 4th, 2008, 7:02 am
Forum: Expression Discussion
Topic: value change when Null getting closer to layer
Replies: 4
Views: 11440

Re: value change when Null getting closer to layer

Try applying the following expression to the opacity. D_opaq = 100; D_trans = 300; d = length(position, thisComp.layer("Avoid Me").transform.position); ease(d, D_opaq, D_trans, 100, 0) It will keep the layer transparent as long as the Null ("Avoid Me") is farther from the layer b...
by kobyg
November 29th, 2008, 4:05 pm
Forum: Announcements
Topic: enhancement requests and bug reports for the scripting guide
Replies: 3
Views: 28410

Re: enhancement requests and bug reports for the scripting guide

It would be very helpful if you could add the following subjects to the guide: (Excuse me if I mention something that is already there. I've searched and couldn't find those sublects there) 1. File Handling functions and needed procedures (open file, read file, write to file, etc.), for Text files. ...
by kobyg
November 27th, 2008, 6:35 am
Forum: Announcements
Topic: enhancement requests and bug reports for the scripting guide
Replies: 3
Views: 28410

Re: enhancement requests and bug reports for the scripting guide

Thank you for posting this here, and for hearing our requests! To start out with, I think it is important to add a detailed Table of Contents to the guide. This will make it much easier to find specific subjects in the guide, and will help new users understand the structure of the guide. Thanks, Koby.