Search found 36 matches
- January 24th, 2005, 2:33 pm
- Forum: Expressions Library
- Topic: Distribute layers in 3D Space
- Replies: 2
- Views: 21768
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])...
- December 22nd, 2004, 9:37 am
- Forum: Scripts Discussion
- Topic: declaring arrays
- Replies: 5
- Views: 11040
For 2D arrays you could have just used ...
or
Isn't it easier ? ^^
Code: Select all
var myArray = new Array(new Array());
myArray[12][2] = "jambon";
Code: Select all
var myArray = [[]];
myArray[12][2] = "jambon";
- December 20th, 2004, 1:38 pm
- Forum: Expressions Library
- Topic: Need expression to have one layer follow another...
- Replies: 1
- Views: 15277
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...
- December 18th, 2004, 6:33 am
- Forum: Scripts Discussion
- Topic: anybody here anymore?? more questions??
- Replies: 2
- Views: 9217
I don't know if
But....
That works.
would work.app.projects.item("myComp")
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++;
}
}
- December 6th, 2004, 4:38 am
- Forum: Scripts Discussion
- Topic: Text size and animation properties
- Replies: 3
- Views: 12545
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
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
- December 4th, 2004, 1:10 pm
- Forum: Scripts Discussion
- Topic: Text size and animation properties
- Replies: 3
- Views: 12545
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 ...