Forum Replies Created

Page 1 of 11
  • Jonas Espinoza

    May 10, 2011 at 4:28 pm in reply to: sampling the pixel below, or same pixel

    psuedocode wise it would be something like

    im not fully up on array math – but would it be multiplying the luminance of the BG/source layer against the shadow value of the tint for the FG layer?

    with that be math.mul()?

    i guess it could be sampling R,G or B, and then evenly apply that [x,x,x] to the tint color

  • Jonas Espinoza

    August 18, 2010 at 9:50 pm in reply to: remap index value to be reversed

    ahh thanks dan

    I came up with the index part, but the Math.round is good stuff

  • Jonas Espinoza

    August 13, 2010 at 6:23 pm in reply to: interpolate between 2 keyframes

    hey thanks

    yeah thats kinda what i have

    i am wondering how now i can add a random to an array value. in this case “p1” – i know how to generate a random value, but whats the procedure to add randomization to x and y of the 0,1,2 array and how would i add that to p1, which seems like it contains those 3 values inside of it

    i am trying to paste the code into the code box, let me know if you cant see it

    seedRandom(index+1, true);
    r = random()*4;

    p1=position.key(1).value;
    p2= position.key(2).value;
    duration= thisComp.layer("EXPRESSION CONTROLLER").effect("duration")("Slider")+r;
    ease(time, inPoint, duration, p1, p2);

  • Jonas Espinoza

    August 13, 2010 at 12:31 am in reply to: interpolate between 2 keyframes

    hold on, i will post with better questions. finding some good stuff in the manual

  • Jonas Espinoza

    August 13, 2010 at 12:00 am in reply to: combine 2 expressions

    thats what i did. somehow i got it to work. had to pull out a piece of paper and really think through what was happening in the expression.

  • Jonas Espinoza

    August 11, 2010 at 9:21 pm in reply to: combine 2 expressions

    this is what i’m trying – not exactly doing anything…

    L= thisComp.layer(“marker null”);
    t=time-inPoint;
    m_t=L.marker.key(1).time;
    N=thisComp.layer(“dropper”);
    dropper=thisComp.layer(“dropper”).effect(“drop”)(“Slider”).valueAtTime(N.inPoint+t);
    delay = thisComp.layer(“dropper”).effect(“color delay controller “)(“Slider”);
    b = thisComp.layer(“dropper”).effect(“bounce”)(“Slider”).valueAtTime(m_t+(index*delay));

    d=(value[1]-dropper)+b;

    [value[0],d,value[2]]

  • Jonas Espinoza

    August 10, 2010 at 10:33 pm in reply to: cascading color change

    question, i am already using the inpoint to control the items dropping

    is there a way to have a marker on the control null be what the delay is comparing itself to? does that make sense?

    so i can have a marker on the null at say 15:00 and starting then a bunch of the items turn red in a cascading way and i can slide the marker as needed?

    thanks so much dan

  • Jonas Espinoza

    August 10, 2010 at 6:56 pm in reply to: cascading falling grid

    figured out a workaround on my own… still trying to remember that piece of essential scripting skill to neutralize the individual positions of elements referencing a control null

    heres what i did – just had a slider animating and using it as a negative number. then put on the “inertial bounce” script thats floating around on the slider keys so everything bounces down. now i might add another varable with a random seed (#+index) to make each one fall a little different.

    t=time-inPoint;

    N=thisComp.layer(“dropper”);

    dropper=thisComp.layer(“dropper”).effect(“drop”)(“Slider”).valueAtTime(N.inPoint+t);

    d=value[1]-dropper;

    [value[0],d,value[2]]

  • Jonas Espinoza

    August 10, 2010 at 6:06 pm in reply to: cascading falling grid

    so my challenge in figuring this out, is i know its like a simple minus or plus operation to negate out the actual position of each layer to make them follow the control null, but keep their placement in the comp. all that needs to happen is for them to fall vertically down and land where i placed them, with controllable delay in the script

  • Jonas Espinoza

    August 10, 2010 at 6:04 pm in reply to: cascading color change

    do you have a tip bucket at your site? thank you so much for lending your brain

Page 1 of 11

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