Wednesday, March 13, 2013

After Effects expression wiggle



Expressions are capable to animate an object without necessarily make use of keyframes.
One of the most simple expressions, and also one of the most useful, is Wiggle.
To apply an expression, select the proprieties one by one and go to Animation> Add expression. The shortcut is Alt+click on the animation stopwatch.
One the expression have been added, press Enter on the numeric pad or click any area outside the expression, to close the expression editor.
To temporary disable the expression, click the = icon on the left side of the expression.
- To randomly wiggle position use:
wiggle(5,50)
where 5 is frequency (times per second)
and 50 is magnitude (how many pixels movement)
- To randomly wiggle rotation:
wiggle(5,50)

where 5 is frequency (times per second)
and 50 is magnitude (how many degrees movement)
- To randomly wiggle scale:

wiggle(5,50)

where 5 is frequency (times per second)
and 50 is magnitude (how much in percentage)
- To randomly wiggle position and scale, just horizontal movement:

w = wiggle(5,50);
[w[0], value[1]]
where “w” is the short name for wiggle(5,50)
[0] is x, horizontal
[1] is y, vertical
“value” commits the actual value
to start a new row, just press enter on the keyboard
- To randomly wiggle position and scale, just vertical movement:
w = wiggle(5,50);
[value[0], w[1]]

where “w” is the short name for wiggle(5,50)
[0] is x, horizontal
[1] is y, vertical
“value” commits the actual value
- To equally animate scale on both x and y (horizontally and vertically) use the following expression:
w = wiggle(5,50)[0];
[w,w]
Where “w” sets a unique value for wiggle, and the array [w,w] apply the same value to both x and y
The same expression applied to position, makes the layer moving diagonally only

ref: http://www.creativecrew.org.sg/after-effects/after-effects-expression-wiggle.html

Friday, March 1, 2013

Run Multiple After Effects Instances

PC:

-Right click on the shortcut on the desktop

-Go to Properties

-In the first "Target field", add -m after the quotations. Make sure there is a space after the quotations.


I tried doing this with Premiere on the PC and it didn't work. That's about the only other program I think it could be useful for.


Mac:

-Navigate to your AE Folder

-Right click on the program icon and choose "Open package contents"

-Navigate to Contents--->MacOs---->Then make an alias to the After Effects Executable (put the Alias somewhere for quick access i.e. the dock)
*source: http://mograph.net/board/index.php?showtopic=18132

Wednesday, December 5, 2012

Wiggle at Time


Expression example: Start or stop wiggle at specific time

You can use any expression in place of the wiggle expression used here, to begin and end the influence of any expression at a specific time.
  • Apply the following expression to a property to wiggle it beginning at time 2 seconds:
    1
    2
    3
    4
    5
    6
      timeToStart = 2;
      if (time > timeToStart){
          wiggle(3,25);
      }else{
          value;
      }
  • Apply the following expression to a property to stop wiggling it at time 4 seconds:
    1
    2
    3
    4
    5
    6
      timeToStop = 4;
      if (time > timeToStop){
          value;
      }else{
          wiggle(3,25);
      }
  • Apply the following expression to a property to start wiggling it at time 2 seconds and stop wiggling it at time 4 seconds:
    1
    2
    3
    4
    5
    6
    7
    8
      timeToStart = 2;
      timeToStop = 4;
         
      if ((time > timeToStart) && (time < timeToStop)){
          wiggle(3,25);
      }else{
          value;
      }