background preloader

Scripting & Expressions

Facebook Twitter

Plexus 2. This software ("the Software Product") and accompanying documentation is licensed and not sold.

Plexus 2

This Software Product is protected by copyright laws and treaties, as well as laws and treaties related to other forms of intellectual property. The author owns intellectual property rights in the Software Product. The Licensee's ("you" or "your") license to download, use, copy, or change the Software Product is subject to these rights and to all the terms and conditions of this End User License Agreement ("Agreement"). Acceptance YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT BY SELECTING THE "ACCEPT" OPTION AND DOWNLOADING THE SOFTWARE PRODUCT OR BY INSTALLING, USING, OR COPYING THE SOFTWARE PRODUCT. YOU MUST AGREE TO ALL OF THE TERMS OF THIS AGREEMENT BEFORE YOU WILL BE ALLOWED TO DOWNLOAD THE SOFTWARE PRODUCT. License Grant This Agreement entitles you to install and use one copy of the Software Product.

Debugging expressions. 31 Essential Scripts from AEScripts.com. If you have never used scripts before, you are missing out.

31 Essential Scripts from AEScripts.com

These extensions to your After Effects arsenal can be invaluable. There are tons to choose from, they do a wide range of tasks, and new ones are being developed all the time. Lloyd Alvarez, our former editor actually runs AEscripts.com, an online marketplace and central hub for everything scripts in the AE Universe. This is quite the script to start this roundup off with. For those of you that haven't heard of BG Renderer, it renders your videos and everything in your Render Queue, in the background... pretty straightforward.

Quite possibly my favorite script, and not just because of the mustache, is Magnum - The Edit Detector, which can scene detect any piece of footage you throw at it. After Effects ExtendScript Training Complete Series by David Torno. After Effects ExtendScript Training is a video training series on Adobe® ExtendScript for After Effects®.

After Effects ExtendScript Training Complete Series by David Torno

Below are direct links to the entire collection right here on PVC. Enjoy and please spread the word. The After Effects ExtendScript Training series is the first comprehensive video tutorial series focused on Adobe® ExtendScript. This fourteen hour long series covers all the basics of Javascript and ExtendScript to get a new user up and building their own scripts for After Effects. The series takes the viewer from the very basics of script writing, all the way through intermediate and advanced techniques. Episode 1 (Intro) Episode 2 (Javascript Basics p1) Episode 3 (Javascript Basics p2) Episode 4 (After Effects Object Model structure overview / Script Preparation and development tips / Single Item Access of various project items, comps and layers) Episode 6 (Collecting data into an Array() / Changing values / Various tips) Connect Layers - Rope, triangulation, spanning tree for After Effects.

This script connects the selected layers with segments or triangles created with shape layers.

Connect Layers - Rope, triangulation, spanning tree for After Effects

It was originally created to visualize Newton2 joints but as you will see, it can do much more. Rope Creates a single shape layer with a path connecting the selected layers (2D only). Use AutoBezier or Tension options to get rounded joint style. Spanning Tree Computes minimum spanning tree and draws each edge with a shape layer (2D and 3D support). Triangulation Triangulates the selected layers and draws each edge with a shape layer (2D and 3D support).

Note that for functions that create shape keyframes (Triangulation with Filled Triangles turned on, and Rope), keyframing is done within the comp work area. Quick start guide Compatibility: For AE CS6 or later Current version: 1.08 – Initial release – May 2013. Expressions - Geometry. AE Tips and Tricks.

Math

Expression language reference. Return type: Number or Array.

Expression language reference

Argument type: freq, amp, octaves, amp_mult, and t are Numbers. Randomly shakes (wiggles) the value of the property. freq value is the frequency in wiggles per second. amp value is the amplitude in units of the property to which it is applied. octaves is the number of octaves of noise to add together. Amp_mult is the amount that amp is multiplied by for each octave.

T is the base start time. Example: position.wiggle(5, 20, 3, .5) produces about 5 wiggles per second with an average size of about 20 pixels. This example, on a two-dimensional property such as Scale, wiggles both dimensions by the same amount: v = wiggle(5, 10); [v[0], v[0]] This example, on a two-dimensional property, wiggles only along the y axis: freq = 3; amp = 50; w = wiggle(freq,amp); [value[0],w[1]]; Paul Tuersley provides a script on the AE Enhancers forum that automatically adds wiggle, smooth, and loop expressions to selected properties. Scripts & Plugins. Dan Ebbert. After Effects Expressions. I realize that expressions can be daunting, and some would rather copy and past useful code rather than learn the language.

After Effects Expressions

That’s cool with me. Therefore, I’d like to share with you my top 5 after effects expressions. These are expressions I use in just about every project, and I consider them to be incredible workflow enhancements. Expressions. From 1.

Expressions

Intertial Bounce Essentially, Inertial Bounce creates a bouncing motion of any parameter from one keyframe to the next, based on its velocity. Being that true “velocity” includes the vector (or traveling direction in 3D space), the bounce happens in whatever direction the object is traveling. This also accounts for scalar or array values, so you’ll find that this expression works just as well on 2D rotation as it does on 3D position. Java.