Creating a Looping Wiggle Effect in After Effects - Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 77

  • @bad_teeth
    @bad_teeth 2 года назад +14

    People that post the expressions in the desc deserve nobel peace prizes

  • @emmacorby4611
    @emmacorby4611 2 года назад +6

    I was having issues with the loop timing, I had a comp that was 4s long, but when I changed the expression to reflect 4 as the time, I was still getting an extra frame or two that weren't working, even when I tried making it 1 frame longer/shorter than 4s. I found this expression to eliminate the issue of the timing:
    freq = 1;
    amp = 510;
    loopTime = thisComp.duration;
    t = time % loopTime;
    wiggle1 = wiggle(freq, amp, 1, 0.5, t);
    wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
    linear(t, 0, loopTime, wiggle1, wiggle2)
    Thank you for this video!

    • @ROMTHIRTY
      @ROMTHIRTY Год назад

      This is beautiful, elegant and the way to do it.

    • @TheDoggyChannelVideo
      @TheDoggyChannelVideo 6 месяцев назад

      Another way is, to leave the expression as it was originally, so if your comp is 4s, the timeline has to end in 00:3,29 (in 30fps) this is due to the next frame is 00:00,00 which is the same as 00:04,00 so thats why you get the same frame twice

  • @VocaMagenta
    @VocaMagenta Месяц назад

    still usefull 2 years later, thx dude ! straight to the point vid

  • @pau_1eal526
    @pau_1eal526 Год назад +4

    thanks you so much
    you have no idea how useful tutorials are as direct and easy to apply as this one

  • @conormurphy7058
    @conormurphy7058 2 года назад +7

    I’d like to see more short tutorials like this. A mix of short and long. Thanks.

    • @CampKeyframetutorials
      @CampKeyframetutorials  2 года назад +1

      Thanks for your comment. I will definitely keep this in mind and make a nice mix of longer and shorter tutorials in the future :)

  • @TheDoggyChannelVideo
    @TheDoggyChannelVideo 6 месяцев назад

    Thanks a lot for this, i have not worked with expressions in awhile, and this video just made my day!!!

  • @bananabike279
    @bananabike279 2 года назад +5

    Great short tutorial! I knew about the wiggle expression, but I didn't know you could make them loop perfectly with looptime!

  • @randyrektor
    @randyrektor Год назад +2

    Short, concise, perfectly effective, script linked in the bio.. A perfect tutorial.

  • @zeaig
    @zeaig 2 года назад +2

    Thank you so much, this was driving me bonkers.

  • @tusharhegde8174
    @tusharhegde8174 8 месяцев назад

    Thanks a ton. wish you great health and happiness.God bless you

  • @KamusAEP
    @KamusAEP Год назад

    Very Very Very Thank you very much! I'm going to save this expression, it will be very useful.

  • @nmy2187
    @nmy2187 21 день назад

    Ты легенда бро

  • @mrbluepencil_
    @mrbluepencil_ 9 месяцев назад

    Thank you! You are a legend! Saved me so much time :)

  • @samandgracephotography
    @samandgracephotography Год назад

    fantastic. i used to spend so much time working around my wiggle expressions not looping... this is so great!

  • @GustavoPulidoJ
    @GustavoPulidoJ 8 месяцев назад

    This is gold!, thanks so much!

  • @filipecaldasmotion
    @filipecaldasmotion 10 месяцев назад

    thank you very much, you saved my life!!

  • @DissertazioniVideolu
    @DissertazioniVideolu 2 года назад +8

    no one making this "tutorial" explains the meaning of lines:
    t = time % loopTime;
    wiggle1 = wiggle(freq, amp, 1, 0.5, t);
    wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
    linear(t, 0, loopTime, wiggle1, wiggle2)

  • @dedex64
    @dedex64 Год назад

    This helps me a lot ,Thank you

  • @LiliyaPavlova
    @LiliyaPavlova 4 месяца назад

    thank you so much! you saved my time)

  • @MyLoginWasIncorrect
    @MyLoginWasIncorrect Год назад

    awesome! thank you for the expression

  • @linnealowden7904
    @linnealowden7904 2 года назад +1

    thank you, I used this on a project today!

  • @W56productions
    @W56productions 2 года назад +1

    Great video.
    Red about this sort of technique a while ago but forgot about it. Thanks for reminding me!

  • @MohamedElHanoun
    @MohamedElHanoun 5 месяцев назад

    Very helpful Thanks

  • @kemal_punkt
    @kemal_punkt 2 года назад +12

    many many thanks, very useful expression.
    Is there any way to make it frame based? Instead of 0:00:03:00, what if it's 0:00:03:17, or just 00071?

    • @Cristina-hp2yg
      @Cristina-hp2yg 2 года назад +4

      You can just divide the number of frames by the frame rate for example I have 215 frames and my animation is 24 fps. Instead of putting 3 in the loopTime, I've put loopTime=215/24 and it worked perfectly. You don't even have to do the math in case it has too many decimals or whatever.

    • @kemal_punkt
      @kemal_punkt 2 года назад +1

      @@Cristina-hp2yg smart, thanx*10 Cristina

  • @tiagos5804
    @tiagos5804 2 года назад

    Just what i needed. Thank you very much.

  • @sanniametu6187
    @sanniametu6187 2 года назад +1

    To Bas!!!! Top notch as always 👌Quick and insightful

  • @pablobarrantes1209
    @pablobarrantes1209 Год назад

    excellent tutorial, thank you so much.

  • @ramielsonedgar2095
    @ramielsonedgar2095 2 месяца назад

    Thanks!

  • @travelingjon
    @travelingjon 2 года назад

    Thank you so much! Exactly what I was looking for and thanks for including the expression.

  • @MrJoeFuego
    @MrJoeFuego Год назад

    Beautiful

  • @viktorskies2058
    @viktorskies2058 Год назад

    Great man!!! Thanx a lot!

  • @robertopotamico
    @robertopotamico 2 года назад

    Thanks my friend!

  • @Zytopian
    @Zytopian 2 года назад

    literally magic love it! Thank you!

  • @noistruct.
    @noistruct. 9 месяцев назад

    great tutorial! If my 'loopTime' is 01,19seg. How do i express it?

  • @motionapex4545
    @motionapex4545 2 года назад

    Thnaks...! it works.

  • @randomfreaks9292
    @randomfreaks9292 2 года назад

    Thank you!

  • @pututejaa
    @pututejaa 5 месяцев назад

    THANKS :)

  • @cenadj
    @cenadj 2 года назад

    your channel is gold mate! Keep these amazing tutorials coming ")

  • @polkior
    @polkior 8 месяцев назад

    thanks

  • @saemranian
    @saemranian 2 года назад

    Thanks For sharing MAN.

  • @TamaraTasic
    @TamaraTasic 8 месяцев назад

    I LOVE YOU MAN!

  • @maedeamn3390
    @maedeamn3390 2 года назад

    Thanks a lottt it was awesome

  • @schrammedia.
    @schrammedia. Год назад

    Bedankt!

  • @saberdahmen9393
    @saberdahmen9393 10 месяцев назад

    thanks bro

  • @simleoita
    @simleoita Год назад

    thnks legend

  • @tuloreedu
    @tuloreedu Год назад

    Love you!

  • @BeonJoy
    @BeonJoy 2 года назад

    GENIUS

  • @miuranga_dissanayake
    @miuranga_dissanayake 2 года назад

    Thank you very much for this!

  • @danirivera8456
    @danirivera8456 11 месяцев назад

    Hi! What if my composition is not 3 seconds long on the dot? Like, what do I do if it’s 3:20 seconds long or so?

  • @Lizzardking
    @Lizzardking 2 года назад

    LEGEND

  • @keithlichtie1268
    @keithlichtie1268 2 года назад +3

    Much thanks - quick question: I currently have the following expression to keep the wiggle only on the y-axis:
    [ value[0], wiggle(1,5)[1] ]
    How would I add this to the expression you shared to make the above expression an exact loop?
    freq = 1;
    amp = 5;
    loopTime = 3;
    t = time % loopTime;
    wiggle1 = wiggle(freq, amp, 1, 0.5, t);
    wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
    linear(t, 0, loopTime, wiggle1, wiggle2)

    • @dcofr
      @dcofr 2 года назад +6

      i know im late but if you are using simple positon keyframing, you can right click and press separate dimensions, isolating the x and y axises

  • @viktoriag6206
    @viktoriag6206 11 месяцев назад

    Does someone know how to slow down the animation with this expression, while still preserving the loop?

  • @Nahn3d
    @Nahn3d 2 года назад

    amazing!!!

  • @TheRegelation
    @TheRegelation Год назад

    i love you!

  • @michaelencarnacao8998
    @michaelencarnacao8998 2 года назад

    thanks boss !!

  • @timeSlidrGaming
    @timeSlidrGaming 2 года назад

    When I animate it going from a slow wiggle to a faster wiggle, it goes faster during the animation than it is after the last keyframe. Like if I animate it going from 1 to 2, it's faster than 2 during the animation but is 2 after it. Is there anyway to fix that?

  • @kandangas_sv
    @kandangas_sv 11 месяцев назад

    What if I want to loop it using only "y" wiggle?

  • @Cumarenet
    @Cumarenet 2 года назад

    scale??

  • @ADVMercer
    @ADVMercer 2 года назад +2

    Doesn't work.

  • @JakubKaka
    @JakubKaka 3 месяца назад

    Thanks Bud!