An introduction to programming in After Effects

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

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

  • @thisisyashh
    @thisisyashh 22 дня назад +1

    This video is just a gem for someone who don't know coding and wants to use expressions in AE. Kudos dude you killed it.

  • @ChrisJones-yh2os
    @ChrisJones-yh2os Год назад +7

    Thanks!

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

      Thank you so much! :)

    • @jirehla-ab1671
      @jirehla-ab1671 10 месяцев назад

      ​@@ClearCodedoes the === also work on after effects scripting?

  • @parassharma3567
    @parassharma3567 3 года назад +32

    Great respect for you man! I've been looking for something like this and you are always there for me to learn awesome programming. Thanks for all the tutorials!

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

      .. B byYou can display your clips as a single column - just tap on the settings icon above

  • @krypton9378
    @krypton9378 3 года назад +15

    His explanations are the easiest out there!!
    Thank you so much !!

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

    I appreciate a lot your time, your dedication, your knoledge and your willing to share this amazing content to us! Thank you so much!

  • @offchristianamr
    @offchristianamr 2 года назад +9

    thank you for this! love your teaching style and the little exercises you include

  • @digpriyankara
    @digpriyankara Год назад +1

    I greatly appreciate for dedicating your time and effort to create this video.

  • @karutt8088
    @karutt8088 Год назад +7

    2:35:09 - To draw a sine wave, it might be a better approach to first create a shape layer using the Pen tool.
    Then, you can write the following expression in the properties under content > shape > path > path.
    var positions = [];
    var amplitude = 200;
    var numPoints = 250;
    var xSpacing = 20;
    for (var i = 0; i < numPoints; i++) {
    var xCoord = i * xSpacing;
    var yCoord = Math.sin(i / (amplitude / xSpacing)) * amplitude;
    positions.push([xCoord, yCoord]);
    }
    createPath(positions, [], [], false);

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

      How are you guys writing and explain this complex coding are you humans?

    • @karutt8088
      @karutt8088 11 месяцев назад +2

      Indeed, the equation for a sine curve appears and is used extensively in physics, mathematics, and many other areas. If you're interested, you can familiarize yourself with this type of coding through visual design coding using tools like p5.js. And yes, I am much more human than you might think👾

    • @hamidrana085
      @hamidrana085 7 месяцев назад

      Really nice codes. I changed the length by assigning "time" to xSpacing and multiplied yCoord by -1. And then I applied the same loop for X Position of the layer, only added "value" and multiplied by -1 again.
      Here's the Path expression:
      var positions = [];
      var amplitude = 250;
      var numPoints = 250;
      var xSpacing = time;
      for (var i = 0; i < numPoints; i++) {
      var xCoord = i * xSpacing;
      var yCoord = Math.sin(i / (amplitude / xSpacing)) * amplitude * -1;
      positions.push([xCoord, yCoord]);
      }
      createPath(positions, [], [], false);
      And here's the X Position expression:
      var numPoints = 250;
      var xSpacing = time;
      for (var i = 0; i < numPoints; i++) {
      var xCoord = i * xSpacing;
      }
      value + xCoord * -1;

  • @E.G2492
    @E.G2492 Год назад +1

    one of the best channels I discovered ever, thank you for your time, great teacher!💯👌🙏🙏🙏🙏

  • @zen-sangha
    @zen-sangha Месяц назад

    Thank you. The tutorial is clear. You have really generous heart. May God bless you.

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

    this SIR , is a miracle, thank you very much.

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

    This is an excellent course. Well explained throughout and the exercises really work to reinforce learning. Superb. Love to see a follow up course. Thank you.

  • @methodwritingmedia
    @methodwritingmedia Год назад +1

    Terrific introduction to expressions. Am halfway through. Much appreciated!

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

    This was incredible definitely need more of this!

  • @hamidrana085
    @hamidrana085 7 месяцев назад

    Incredibly well explained man. Keep it up!

  • @amritaanshnarain7524
    @amritaanshnarain7524 3 года назад +3

    Amazed. Keep it up. Thanks for creating quality content.

  • @CoolYTuser
    @CoolYTuser 6 месяцев назад +1

    Thank you very very much.
    You saved us so much time

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

    Great videos!!
    Thank you! so clrear explanation!
    Also, you should magnify the coding area, to follow the code.
    Due the conection becomes blury and difficult to follow!!
    You got a trully follower!!

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

    Amazing stuff! Thank you very much for sharing!

  • @xxz-n7z
    @xxz-n7z Год назад +2

    This kind of tutorial is really cool!

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

    awesome and simple ... continue

  • @elindur1801
    @elindur1801 3 года назад +3

    I love your Videos man! Keep up the good work ;)

  • @ashleyj9938
    @ashleyj9938 Год назад +1

    Thank you for a fantastic tutorial!

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

    best video I ever saw

  • @YH-ho8rv
    @YH-ho8rv 3 года назад +2

    Looks cool!

  • @Bangladeshedu
    @Bangladeshedu Год назад +1

    wow!!!!! Thank you so much sir.

  • @a.deborah8610
    @a.deborah8610 Год назад

    This is amazing. Thanks a lot

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

    million thanks sir

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

    Thank you sir for this tutorial

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

    For a beginner, learning the coding is difficult, how is the user suppose to know what coding they should use and when to apply it to the right key frame? Their are many codes the user would have to memorize, including understand the functionality behind it.

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

      the secrete is that you do not have to memorize anything, try to make the code self explanatory for you, add comments, name variables with meaning and then forget it.

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

    Hi,
    When doing 48:28 "Custom expression controls" my syntax is correct but AE throws the error "property or method named [object Property] in Class 'Array' is missing or does not exist." It's the code to do with toggling on/off the drop shadow opacity (between values 80 and 0). How do I fixt this? Thanks.

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

      came across the same problem you did. What I understand is that the "0" or "1" returned from the checkbox is not the same as a number 0 or 1. Maybe the line has to be converted somehow. My work around was to just literally put a 0 inside the index instead of referencing the variable returning the 0 or 1 from the checkbox.
      It's just weird because if you did something like if (checkbox == 0). It does check it correctly.. So if statements can be another work around. Might be something the old after effects versions were able to do and maybe an update made the syntax different.

    • @yadavpokhrel3770
      @yadavpokhrel3770 Год назад +1

      Hello mate !
      Try using
      If (controllervalue==1) {100}
      else (0)

  • @lewyathan
    @lewyathan 3 года назад +1

    wow what a legend

  • @omarguzman1112
    @omarguzman1112 Год назад +1

    At 2:28 it says Command Click on Mac, it's actually Option Click on Mac

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

    Your the best! Thanks

  • @Raw-addict33
    @Raw-addict33 Год назад +1

    THANKS!!!

  • @alializadeh8195
    @alializadeh8195 8 месяцев назад +1

    Thanks many many much more ,,,, ....

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

    thank you very mush

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

    hi there. I've been trying to follow a tutorial on domestika, and right at the beginning, the start of the expression is:
    var holdTime = 1;
    and after effects keep swarning me saying that expression is wrong, however it's the same expression showed in the tutorial. Can someone give me a hand here?

  • @reold
    @reold 3 года назад +3

    Now I gotta get the app

  • @nitinmankar4705
    @nitinmankar4705 Год назад +1

    I tried to changing color depend on shape moving (x,Y) but not working ;(
    I did it only in X position
    >
    var Black = [0,0,0,255]/255;
    var CloudyGray = [109,105,104,255]/255;
    var SmokeyGray = [114,110,109,255]/255;
    var White = [255,255,255,255]/255;
    if(thisComp.layer("Select Color").transform.xPosition

    • @alfredoramirez2643
      @alfredoramirez2643 Год назад +1

      you should compare from the higher to the lower using > instead of

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

    What kind of code is this called ? JavaScript ?

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

      exactly, after effects uses javascript in its coding, with some custom functions/objects in it.

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

      @@ighao6032 so after this video , i can do coding in java script ?

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

      @@doityourselfpakistan6535 not necessarily. its just a similar structure.

  • @rano12321
    @rano12321 Год назад +1

    Make a tut for Fusion and Nuke.

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

    PLS CAN U MAKE EXTENTIONS

  • @5ashll303
    @5ashll303 Год назад

    how DO I access code that I have already done?

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

    what laungauge is that??

  • @retrogameroom9019
    @retrogameroom9019 3 года назад +1

    Hello there

  • @ZinkinZ
    @ZinkinZ 2 года назад +4

    I started editing, because I had free time and didn't want to learn code.
    Instant karma

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

    Thanks!

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

      thank you so much