Created
December 25, 2018 02:34
-
-
Save animoplex/ef50b9527e04438143972905a6684aab to your computer and use it in GitHub Desktop.
Advanced Wiggle Example - After Effects Expression by Animoplex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Advanced Wiggle Example - Created by Animoplex: www.animoplex.com | |
// The full expression from Lesson 507 which builds an advanced wiggle expression using a pseudo effect. | |
// Full Tutorial: https://www.youtube.com/watch?v=b4AAkT2Xuio&t=17s | |
src = effect("Wiggle Control"); | |
tog = src("Toggle"); | |
if (tog == true) { | |
freq = src("Frequency"); | |
amp = src("Amplitude"); | |
val = wiggle(freq, amp); | |
} else { | |
val = value; | |
} | |
switch (src("Axis").value) { | |
case 1: | |
val; | |
break; | |
case 2: | |
[val[0], value[1], value[2]]; | |
break; | |
case 3: | |
[value[0], val[1], value[2]]; | |
break; | |
case 4: | |
[value[0], value[1], val[2]]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment