Entries in Mir (21)


MIR Procedural Flight

This AE project file contains a procedural flight camera for Trapcode Mir. Note that these expressions are not mathematically correct, they just give an appearance of a flying camera.

In order to achieve flight motion, firstly the Scroll Y parameter has an expression (time*1000) so it appears the landscape is moving towards the camera. To get motion sideways there is an expression on Scroll X as well. This is more complex:

seedRandom(2002); // change this to change the flight path
// smooth the scroll willge to avoid jumps
sum = 0;
for(i=-4; i<5; i++) {
sum += effect("Mir")("Scroll X").wiggle(0.2, 700, 1, 0.5, time +i*0.1);


Simply changing the seedRandom value here will change the entire flight path. The rest of the expression is a smoothing window to smooth out the result of a wiggle expression. The wiggle expression creates the randomness and uses the aforementioned random seed to do so.

To get the banking effect (roll of camera) an expression is used on the Camera Z Rotation:

// smooth the velicity values to avoid jumps
sum = 0;
for(i=-4; i<5; i++) {
sum += thisComp.layer("MIR").effect("Mir")("Scroll X").velocityAtTime(time +1 +i*0.1);
-0.1*sum/10   // change the value (0.1) to change the amount of banking

Here we are again smoothing the alredy smoothed values of Scroll X. Lots of smoothing is needed! By sampling the velocity of the Scroll X motion we get an approximation of the banking needed for such a turn. One second is added to the sampling time so that the banking happens first, before the actual turn.

Lastly there is an expression on for the sideways direction of the camera (yaw). This is so that the camera aims in the direction of flight. The expression is:

// smooth the velicity values to avoid jumps
sum = 0;
for(i=-4; i<5; i++) {
sum += thisComp.layer("MIR").effect("Mir")("Scroll X").velocityAtTime(time +i*0.1);

This expression is similar to the one above but doesn't add any delay to the sampling. As soon as the turn starts, the direction is corrected.

Download Adobe After Effects CS6 project file: MIR_Procedural_Flight_CS6.aep




Tove Styrke music video by Slobodan Zivic

The super cool and talented Swedish artist Tove Styrke has a music video for the awesome track "Even If I'm Loud It Doesn't Mean I'm Talking to You" directed by Slobodan Zivic that uses Trapcode Mir to create beautiful geometric patterns. Also, check out the sweet 303 that solos at 2:10 -- just lovely.

Director: Slobodan Zivic
Spotify: http://spoti.fi/1hJUmIH
iTunes: http://bit.ly/1sJpGOV
Wimp: http://bit.ly/1g3Ce12

Written by Tove Styrke & Calle Ask
Produced by Calle Ask
Additional Production by Johan T Karlsson
Published by Sony ATV Music Publishing Scandinavia AB

Video by Studio Slobodan
DOP: Daniel Takacs
Editor: Artur Wolgers
Graphic Designer & Animatior: Slobodan Zivic & Tobias Petersson
Choreographer: Linnéa Sundling

Also the lyric video has some great, perhaps even more interesting Trapcode Mir work:



Black Flow

Test of the new fractal type Multi SmoothRidge. More info and AEP for download.


Mir Thing Tutorial

Check out the new tutorial!

Explains the technique used to create stuff like this:


Nebula Construction Kit

Making nebulae with Mir and Form. Examples of generated nebulae:

Add a bit of Vector Blur!

Three examples movie:

Here is the tutorial on using the AEP (download below)

Download Nebula Construction Kit AEP: nebula_construction_kit.aep

These images and more in high-res in the flickr album.