Forum Replies Created

  • Ale Elizondo

    June 18, 2015 at 2:16 pm in reply to: parenting expression

    Perfect that is the solution or the error rather!!!, Thanks Dan

  • Ale Elizondo

    June 17, 2015 at 7:25 pm in reply to: parenting expression

    Hello Dan!!

    I have used a couple of expressions, including the explained expression of here for make a “write on effect” to begin in the second 1, however the brush position is outside of the “myProp” variant, I have analyzed it, but I have not yet understood this. I attached a picture where I show this. Thanks!!

  • Ale Elizondo

    February 5, 2015 at 3:53 pm in reply to: Inertia expression keeps turning itself off

    How forever thanks Dan!!! 😀 this works perfect and you saved me a lot of time and problems.

  • Ale Elizondo

    February 4, 2015 at 10:46 pm in reply to: Inertia expression keeps turning itself off

    There is an error on this line :/:

    “Class global has no property or method named “t”

  • Ale Elizondo

    February 4, 2015 at 3:05 pm in reply to: Inertia expression keeps turning itself off

    Dan I have the same problem but with a little difference , could you help me with this?:

    I try use your solution :

    if (n > 0){

    to this:

    if (n > 0 && t < 1){

    but this no works in this case:/

    amp = .2;
    freq = 3;
    decay = 2;
    kf = 2; // only on 2nd keyframe
     
    n = 0;
    if (numKeys > 0){
      n = nearestKey(time).index;
      if (key(n).time > time) n--;
    }
     
    if (n == kf){
     t = time - key(n).time;
      v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
      temp = value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
      x = temp[0];
      y = value[0]*value[1]/x;
      [x,y]
    }else
      value

  • Ale Elizondo

    October 23, 2014 at 1:05 am in reply to: Interpolation from one dimension to two dimensions

    Dan that works perfect!! 🙂

    I used the same idea for interpolate between two layers of two dimension:

    minY = 500;
    maxY = 700;
    minX=400;
    maxX=600;
    minScale = 0;
    maxScale = 100;
    y = thisComp.layer(“1”).transform.position[1];
    linear(y,minY,maxY,[minScale,minScale],[maxScale,maxScale]);
    x = thisComp.layer(“1”).transform.position[0];
    linear(x,minX,maxX,[minScale,minScale],[maxScale,maxScale]);

  • Ale Elizondo

    September 25, 2014 at 6:49 pm in reply to: Linear interpolation to hold interpolation expression

    For example when the Scale of the first object is 100 the opacity of second object is 0 that is correct but when the scale changes to 99 the opacity changes to 100 this doesn’t work for what I want. This question was for properties of one dimension, I would like make it too with an interpolation between property of two dimension to one dimension, how from scale to opacity, I guess this will be more difficult XD.

    Thanks for review this Dan

  • Ale Elizondo

    September 25, 2014 at 6:24 pm in reply to: Linear interpolation to hold interpolation expression

    Thanks for your response Dan.

    I use this as follows:

    t=thisComp.layer(“ojo 2”).transform.scale[1];
    if (t < (0+100)/2) 100 else 0

    this on Opacity property, but there are some problems :/

    my idea is to invert the values ​​and this works but until the value is less than 50, I guess this is why the division is by 2, I want the change to happen until it reached the maximum or minimum value

  • Ale Elizondo

    September 25, 2014 at 4:25 pm in reply to: checkbox expression

    thanks dan!! 🙂

  • Ale Elizondo

    August 31, 2014 at 9:52 pm in reply to: checkbox expression

    Very helpful this 🙂

    But this expression only works with properties of one dimension. How works it with a property of two dimensions? I hope you can tell me.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy