Search found 36 matches

by Shinjipierre
January 24th, 2005, 2:33 pm
Forum: Expressions Library
Topic: Distribute layers in 3D Space
Replies: 2
Views: 21335

dist = wiggle(0,5)+5; //generates a locked random value between 0 and 10. //sphere radius = 1; center = [0,1,2]; // 0 <= (X0-X)² + (Y0-Y)² + (Z0-Y)² <= R²[/i] var temp = (center[0]-value[0])*(center[0]-value[0]) + (center[1]-value[1])*(center[1]-value[1]) + (dist - center[2])*(dist - center[2])...
by Shinjipierre
December 22nd, 2004, 9:37 am
Forum: Scripts Discussion
Topic: declaring arrays
Replies: 5
Views: 10837

For 2D arrays you could have just used ...

Code: Select all

var myArray = new Array(new Array());
myArray[12][2] = "jambon";
or

Code: Select all

var myArray = [[]];
myArray[12][2] = "jambon";
Isn't it easier ? ^^
by Shinjipierre
December 20th, 2004, 1:38 pm
Forum: Expressions Library
Topic: Need expression to have one layer follow another...
Replies: 1
Views: 14929

In fact, what you want to change is the startTime attribute. I don't really know if one can change it in an expression. You can change it with a script but that would be a pain in the ass to use that for such a thing lol. But, what you wanna do can be done using an expression on a time remap. 1 ) Ad...
by Shinjipierre
December 18th, 2004, 6:33 am
Forum: Scripts Discussion
Topic: anybody here anymore?? more questions??
Replies: 2
Views: 9064

I don't know if
app.projects.item("myComp")
would work.

But....

Code: Select all

	while((i <= app.project.numItems) && (trouve == 0)) {
		if(app.project.item(i).name == "Staff") {
			var Composition = app.project.item(i);
			trouve = 1;
		} else {
			i++;
		}
	}
That works.
by Shinjipierre
December 6th, 2004, 4:38 am
Forum: Scripts Discussion
Topic: Text size and animation properties
Replies: 3
Views: 12317

Here are two screenshots of what I want to add.

http://naru.easynetonline.net/yaoithrow ... le%201.gif

http://naru.easynetonline.net/yaoithrow ... le%202.gif

The keys are already added with my script. (yeah, that's a karaoke effect ;)
by Shinjipierre
December 4th, 2004, 1:10 pm
Forum: Scripts Discussion
Topic: Text size and animation properties
Replies: 3
Views: 12317

Text size and animation properties

I'm scripting a Sub Station Alpha (subtitle script) -> after effects script, but I've got 2 main problems... Problem 1 I don't know how I can change the size/color/font. I've looked through the forum and found some things which didn't seem to work ^^. Copying one of Impudent's script I came to that ...