Search found 20 matches

by CodingAe
July 9th, 2018, 4:55 pm
Forum: Script Tutorials
Topic: Create a window / GUI / panel fast using HTML in After Effects
Replies: 0
Views: 595

Create a window / GUI / panel fast using HTML in After Effects

For those who are unfamiliar with using Adobe Extension Builder this tutorial should give a quick introduction on how to get started.
https://www.youtube.com/watch?v=e-_PGTWmbn4
by CodingAe
December 16th, 2017, 8:33 pm
Forum: Script Tutorials
Topic: Beginner Video Tutorial
Replies: 0
Views: 1315

Beginner Video Tutorial

Hello World, I've started a new tutorial series on Youtube for ExtendScript. These tutorial will be great for beginners and still useful for veterans. I only have one video for ExtendScript so far, but I will be bringing out two more videos this week and I have about 10 tutorials on Expression alrea...
by CodingAe
December 2nd, 2017, 9:45 pm
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 2010

Re: Wiggle, how to use the output values?

Sorry for the late respond, but for these last two days I couldn't think of any way to use wiggle with another method like valueAtTime. The reason why I believe that After Effect is saying that "valueAtTime is not a function" is because After Effects is saying that there is error using valueAtTime. ...
by CodingAe
November 29th, 2017, 1:35 pm
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 2010

Re: Wiggle, how to use the output values?

That's weird, so what you are saying is that wiggle is not working at all. If you are trying use wiggle for the position value that's in the same layer then just use wiggle() without adding transform.position and it will work the same as writing transform.position.wiggle(). In theory since valueAtTi...
by CodingAe
November 29th, 2017, 8:04 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 2010

Re: Wiggle, how to use the output values?

I'm not completely sure what you are trying to do, but this will make the first code work...

Code: Select all

var x = timeToFrames(time);

if(x % 2 === 0){
  wiggle(12, 50);
} else {
  thisComp.layer("Layer 1").transform.position.valueAtTime(time-.04); 
}
by CodingAe
November 23rd, 2017, 6:25 pm
Forum: Expressions Tutorials
Topic: Use an External Text Editor or IDE to code Expression
Replies: 0
Views: 3394

Use an External Text Editor or IDE to code Expression

If you are tired of the pain of the Expression editor then learn how to use an external text editor to code expression in After Effects.
 
by CodingAe
November 21st, 2017, 6:13 pm
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 1338

Re: Position Offset If Condition

Under the numX and numY variable (Note: You can get rid of numY, it's not doing anything): var row = thisComp.layer("Null 8").effect("Row Only")("Checkbox"); //Change this by pick whipping this to a checkbox control for X axis only var col = thisComp.layer("Null 8").effect("Column Only")("Checkbox")...
by CodingAe
November 20th, 2017, 6:51 pm
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 1338

Re: Position Offset If Condition

I've got it to work: You don't have to zero your anchor this time, but if you are going to use this code make sure that the image layers are the first layers in composition If you tried using the earlier code, I forgot to tell you that the layers had to be the first layers in composition so sorry ab...
by CodingAe
November 20th, 2017, 10:58 am
Forum: Expression Discussion
Topic: Source Text to Image Size
Replies: 3
Views: 909

Re: Source Text to Image Size

I'm happy that you found it useful.
by CodingAe
November 20th, 2017, 10:56 am
Forum: Expression Discussion
Topic: Convert Keyframe Values to Whole Numbers
Replies: 3
Views: 1066

Re: Convert Keyframe Values to Whole Numbers

No problem, glad I could help.
by CodingAe
November 20th, 2017, 10:37 am
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 1338

Re: Position Offset If Condition

The code above is made to make a perfect grid, but if you want more freedom to offset you use this: You don't have to set the transform anchor to 0 for this code, but it might make it easier to control: var numX = 2; // Change this variable for how many images you want in one row var numY = 4; // Ch...
by CodingAe
November 20th, 2017, 10:15 am
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 1338

Re: Position Offset If Condition

This might be one way to achieve that. ***When using this code make sure that the values for the transform anchor for these images are both set at 0; var numX = 2; // Change this variable for how many images you want in one row var numY = 4; // Change this variable for how many you images you want i...
by CodingAe
November 19th, 2017, 11:03 pm
Forum: Expression Discussion
Topic: Source Text to Image Size
Replies: 3
Views: 909

Re: Source Text to Image Size

You sure can. This is one way you might want to go about it. var temp = thisComp.layer("text").text.sourceText; // Pick whip sourceText from the text layer you want to use var num = Number(temp); // Number is a method that allows you to parse/convert a value to a number data type [num, num] // Retur...
by CodingAe
November 16th, 2017, 3:39 pm
Forum: Expression Discussion
Topic: Convert Keyframe Values to Whole Numbers
Replies: 3
Views: 1066

Re: Convert Keyframe Values to Whole Numbers

Before you "Convert Expression to Keyframes" in 2 array transform properties like position, anchor, or scale you can use this var x = Math.floor(value[0]); // Math.floor will round down the decimals to a whole number var y = Math.floor(value[1]); [x, y] For transform properties with no arrays like r...
by CodingAe
November 4th, 2017, 2:51 pm
Forum: Expression Discussion
Topic: Leap year calculation
Replies: 3
Views: 1042

Re: Leap year calculation

No problem, I'm glad I was able to help out.