From the course: After Effects Apprentice: 09 Expressions
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Simple math - After Effects Tutorial
From the course: After Effects Apprentice: 09 Expressions
Simple math
In the previous movie, I showed you where you could accidentally screw up an expression by adding some undesired text onto the end of it. Just some garbage characters, Enter, and I get this error message. I'll undo. However, there are times when you do want to edit an expression. For example, you may want to perform some very simple math, like make something go faster, slower, bigger, or smaller. Let's start with rotation. Let's say that I want the red pulley to rotate twice as fast as the blue pulley is. I will press the asterisk key to signify multiply. Yes, you kind of have to use computer math, not real calculator math here, and then 2 for times 2. Press Enter and you can already see that where the first layer is at 2.6 degrees, my expressed layer is twice of that, 5.2 degrees. I will RAM preview and now that red pulley is indeed spinning twice as fast. Let's say that instead you want the pulley to go half as fast. Well, that's simple. Rather than asterisk, or times 2, you do a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.