Random XYZ Position in Adobe After Effects

แชร์
ฝัง

ความคิดเห็น • 60

  • @julienvfx
    @julienvfx 4 ปีที่แล้ว +8

    If you want your layers to keep their positions and get an offset pos with the Random effect, you can add: "value" in your expressions:
    -random(a, b);-
    random(value+a,value+b);

  • @AroonkumarBhaskar
    @AroonkumarBhaskar 6 ปีที่แล้ว +2

    Extremely useful, Harry. My work went tedious without these expressions. Thanks a Lot. Super Liked the Video!! :)

  • @leoLorenzi
    @leoLorenzi 3 ปีที่แล้ว

    i keep coming back to this, has so much useful info

  • @giraffeapproved
    @giraffeapproved 4 ปีที่แล้ว +5

    I've been working professionally in AE for years, and just found out about Collapse Transformations from this video. THANK YOU KIND SIR.

  • @andreasmarkstrom1940
    @andreasmarkstrom1940 ปีที่แล้ว

    Was thinking of going in to C4D to clone a lot of rectangles, but no need. This helped a lot!

  • @nathanmarkus9823
    @nathanmarkus9823 2 ปีที่แล้ว

    You saved me many long hours of work. Thank you so much. Liked and subscribed!

  • @jimjambandit
    @jimjambandit 7 ปีที่แล้ว +1

    Excellent, exactly what I needed! thanks

  • @WeLoveBuzzYT
    @WeLoveBuzzYT 5 ปีที่แล้ว +1

    Thank you.

  • @neko9141
    @neko9141 7 ปีที่แล้ว

    Extremely helpful, thank you

  • @spicy_burrito
    @spicy_burrito 2 ปีที่แล้ว

    had to work with 600 layers in 3D z space. You saved me, thanks a million.

  • @Zgjimik
    @Zgjimik 5 ปีที่แล้ว +1

    Great tutorial!

  • @jhill3d
    @jhill3d 4 ปีที่แล้ว +1

    Nice technique. Would it be possible to store each location in a variable, then automatically animate the camera to each during a comp's life?

  • @FabEnPeOr2
    @FabEnPeOr2 6 ปีที่แล้ว +2

    Hi Harry awesome tutorial ! I kind of got it, how the programing language works hehe . I just have an issue. I am trying to duplicate an 2D object many times and I cant be adjusting the position randomly to every layer. But when I use a radom expression they are all kind of out of the frame. How can I limit the position to the frame? Thanks for ur help :)

  • @dstack1014
    @dstack1014 5 ปีที่แล้ว +1

    I'll give this a try tomorrow. I'm really hoping that rather than divide by word, I can use "line" to divide by line since I have several words per line. Will that work?

  • @LaifuMike
    @LaifuMike 5 ปีที่แล้ว +2

    how do you space out the names more? some overlap, or not evenly distributed. Once precomposed, the z space only affects the depth, the other two size variables distort the text. Inside the precomp, the position is fixed

  • @jorgemariozuleta
    @jorgemariozuleta 8 ปีที่แล้ว +1

    Thanks, I found it quite useful

  • @user-ud9cz9kd8r
    @user-ud9cz9kd8r 6 ปีที่แล้ว +1

    really helpful! thank u :-)

  • @schobel
    @schobel 4 ปีที่แล้ว

    i really wonder how you would modify this in order to animate the individual layers with maybe one slider control

  • @skystalker17145
    @skystalker17145 5 ปีที่แล้ว +5

    smooth voice!

  • @PhotoHackz
    @PhotoHackz 4 ปีที่แล้ว

    I've typed t[0] but it's not return me a text it's became number how to fix it

  • @juliedubela6759
    @juliedubela6759 6 ปีที่แล้ว

    Question: what would I do if I wanted my expression to return a random word in the source text list on every frame?
    I tried modifying the expression you gave in the video to this:
    Word = t.split(“
    ”)
    Word[random(0,50)]
    This did not work. Any suggestions?

  • @DopeAdministrator
    @DopeAdministrator 4 ปีที่แล้ว

    Well done! 🎉🎉👏👏🎆🎆

  •  4 ปีที่แล้ว +1

    wow!!! where did you learn all these?

  • @mabbugaming9201
    @mabbugaming9201 7 ปีที่แล้ว +1

    hey were you got the music for your intro

  • @cemcobanoglu9559
    @cemcobanoglu9559 2 ปีที่แล้ว

    Hi,
    I really like this tutorial it is really helpful!
    also, I would like to ask if anyone knows!
    can we animate every single text/letter separately?
    i would be rally happy if anyone help me.
    i am working on kinetic typography and i tried to do same thing on this setup but i couldn't move the texts. anyone know why ?

  • @StefanSchmalhaus
    @StefanSchmalhaus 6 ปีที่แล้ว +24

    After adding the min and max sliders didn't you forget to change these two lines
    a = [-1000,-1000,-1000];
    b = [1000, 1000, 1000];
    to something like this:
    a = [min, min, min];
    b = [max, max, max];

  • @11Berry
    @11Berry 4 ปีที่แล้ว +1

    Is there a way to do this effect in premiere pro?

  • @BobShurunkle
    @BobShurunkle 2 ปีที่แล้ว

    6 year old tutorial that I desperately needed on Thursday, not three days after the necessity! 🤣 age does not diminish its excellence

  • @JoelCPark
    @JoelCPark 7 ปีที่แล้ว +1

    Great tutorial. I am distributing many photos in 3D space and wish to quickly adjust their xyz placement without having to copy and paste the seeRandom script to all the layers each time I want to adjust xyz values. I'm using the slider technique exactly as you scripted above, with exception that the MIN and MAX values reference sliders in a Null object. The sliders appear to have no effect on the layers (images) that have the seedRandom script for their position. Any thoughts, please? Thanks!

    • @tombourguet3604
      @tombourguet3604 7 ปีที่แล้ว

      He forgot to put his new "min" and "max" variables into his random() function after creating the sliders, so it's still referencing the "a" and "b" arrays he created earlier. It should be random(min, max) and you can delete the a and b arrays.

  • @MikeyNavarrete
    @MikeyNavarrete 2 ปีที่แล้ว

    Hello I am looking for an expression that only moves the z position randomly with a slider control

  • @aarontiramisu
    @aarontiramisu 6 ปีที่แล้ว +8

    seedRandom(index, true)
    a = [-1000, -1000, -1000];
    b = [1000, 1000, 1000];
    random (a, b);
    [r,r,r]

    • @aarontiramisu
      @aarontiramisu ปีที่แล้ว

      I still come back to this randomly and am so proud that I have the foresight to do the lol

    • @aarontiramisu
      @aarontiramisu 11 หลายเดือนก่อน

      Back again, hi past and probably future Aaron's. You're the best

  • @perlovzkavigotzky2369
    @perlovzkavigotzky2369 7 ปีที่แล้ว +1

    ahora en español por favor jajaja
    I have a problem in the minute 7:30 with fx "Random min &max"
    I disable the functions. HELP!!!

  • @StellarEclipseStudio
    @StellarEclipseStudio 8 ปีที่แล้ว +2

    What's the difference between using "random" and using wiggle with a 0 on its frequency?

    • @StellarEclipseStudio
      @StellarEclipseStudio 8 ปีที่แล้ว +1

      +Harry Frank (graymachine) Cool, thanks. I normally use Math.abs() to solve that, so this is a nice alternative.

  • @user-on6ys4wd3f
    @user-on6ys4wd3f 11 หลายเดือนก่อน

    Can this be applied to compositions and not just text?

  • @Andrews13channel
    @Andrews13channel 4 ปีที่แล้ว +1

    super helpful but like,,, it takes too long to do this and id rather just copy paste a bunch of text layers and moving them around manually then accidentally writing a script wrong

  • @MrGeeves
    @MrGeeves 4 ปีที่แล้ว

    Getting an expression error after putting all my layers into a pre comp 🤬

  • @cemcobanoglu9559
    @cemcobanoglu9559 2 ปีที่แล้ว

    HI GUYS,
    Does anyone knows how can we animate this typography ??
    i really need this help for my master project! thanks a lot

  • @shinnapolthanyacharoen4701
    @shinnapolthanyacharoen4701 8 หลายเดือนก่อน +1

    Thx for ur great tutorial.
    I recode for more useful. Now u can control value and min max random.
    seedRandom(index, true)
    //create null name "Text Control" and add 2 slider effect, rename it to "Min" and "Max"
    min = thisComp.layer("Text Control").effect("Min")("Slider");
    max = thisComp.layer("Text Control").effect("Max")("Slider");
    a = value+[min, min, min];
    b = value+[max, max, max];
    random (a, b);

    • @t1t4ns99
      @t1t4ns99 หลายเดือนก่อน

      omg! you saved my life thx for sharing this

  • @MarmarKhayat
    @MarmarKhayat 7 ปีที่แล้ว +1

    After I clicked on "Collapse Transformations" the composition would not rotate anymore.. How come yours turned it into a 3D box?

    • @Hydrotoxic
      @Hydrotoxic 3 ปีที่แล้ว +1

      Enable 3D for each text layer

    • @MarmarKhayat
      @MarmarKhayat 3 ปีที่แล้ว +1

      @@Hydrotoxic I don't remember asking haha but thank you for answering

  • @Mr.Forgoten
    @Mr.Forgoten 4 ปีที่แล้ว +1

    it does't work anymore.

  • @clavejustin9421
    @clavejustin9421 5 ปีที่แล้ว +1

    Are you from the channels "gray machine" or "Red Giant"?

    • @MysteryPancake
      @MysteryPancake 5 ปีที่แล้ว +1

      Harry works for Red Giant but is known by his username "graymachine"

  • @ishashah7028
    @ishashah7028 3 ปีที่แล้ว

    I'm at 12:52 and an error comes up saying "word is not defined"

  • @tatagat96
    @tatagat96 3 ปีที่แล้ว

    is this project file available?

  • @nflrecapandrumors3845
    @nflrecapandrumors3845 4 ปีที่แล้ว

    i keep getting unexpected error, the commas.

  • @NotEvenDeathCanSaveU
    @NotEvenDeathCanSaveU 3 ปีที่แล้ว

    How do I make AE to randomly pick one of two values ? Like it randomly decides each frame if its going to be value 100 or value 200.. Or in other words, if rng rolls 0 its a value of 100 and if it rolls 1 its a value of 200 ? :/

    • @NotEvenDeathCanSaveU
      @NotEvenDeathCanSaveU 3 ปีที่แล้ว

      Uhh... well nvm, did it using simple if/else
      randValue = random(0, 100);
      if(randValue >50) {100;} else 200

  • @Toxss
    @Toxss 5 ปีที่แล้ว +1

    this needs to be a script

  • @jrdgolden1
    @jrdgolden1 7 ปีที่แล้ว +1

    want to hire you! whats your email?

  • @droneservicesdorset5006
    @droneservicesdorset5006 5 ปีที่แล้ว +1

    Sorry dude but this was way too confusing even though I was following the long you rushed through parts of it which I got totally confused with. While yes it might be straightforward to those used to using after effects to those of us who are newbies it seemed very rushed

    • @Zgjimik
      @Zgjimik 5 ปีที่แล้ว +1

      This is not a tutorial for complete beginners, if you are not familiar with expressions, there are plenty of tutorials on that.

  • @vasudhahanda6316
    @vasudhahanda6316 5 ปีที่แล้ว

    seedRandom(index, true)
    a = [-1000, -1000, -1000];
    b = [1000, 1000, 1000];
    random(a,b);

  • @shawn.m.schmidt
    @shawn.m.schmidt 4 ปีที่แล้ว +1

    I am very new to expressions and followed your directions to a tee and I couldn't figure out why my code was broke, I replayed the first four minutes of this video several, several times trying to figure out why my code that looked exactly yours was not working. I was at the point of "fuck it". Then you say, "oopsy, this extra code will cause an error. Thanks for the unneeded stress. Maybe test your shit out before you record next time.