Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Question for the scripting wizards…

  • Question for the scripting wizards…

    Posted by Ruediger Chmielus on July 18, 2005 at 11:03 am

    I am looking for a script that will do this:
    Slice a composition in 1 pixel wide “Stripes”. ( a comp 758*576 would result in 576 stripes)
    Now each of this “Stripes” will get an offset of 1 frame.
    I know that this setup is nothing more than “melt Time” from tinder but I need a very fine and exact solution.
    Also for very high resolutions.
    Any Ideas for a script?
    Thank very much

    Ruediger Chmielus replied 20 years, 9 months ago 2 Members · 9 Replies
  • 9 Replies
  • Filip Vandueren

    July 19, 2005 at 12:22 am

    Ok, this is just theoretical, I’m not saying this is the best way, or that render-times will kepp you sane 😉

    1. Add the comp or layer to a new comp,
    2. Give it two “Linear Wipe” effects
    3. The first one needs these settings:
      Transition Completion: expression: 100*((index-1)/height)
      Wipe Angle: 180
  • Ruediger Chmielus

    July 19, 2005 at 7:48 am

    Wow- thank you very much.
    Never thought about the linear wipe.
    Thanks again 😉

  • Filip Vandueren

    July 19, 2005 at 2:54 pm

    Hi,

    i created a script that uses masks;

    It’s much better, render-times are mcuh better:

    just create a comp with 1 layer in it (movie or pre-comp), then run this script:

    https://www.vandueren.be/forumstuff/jsx/maskedLines.jsx
    It asks for 2 values at the beginning: line-height & time-Offset in millisecs, but you should be fine with the defaults (1 pixel, minus 1 frame).

    (BTW, if you use a time-offset other than 1 frame, enable frame-blending for a much smoother result.)

  • Ruediger Chmielus

    July 19, 2005 at 6:29 pm

    Filip you really,really rule!
    WOW!
    Thanks a million time;)

  • Filip Vandueren

    July 19, 2005 at 9:34 pm

    Hey Rook,

    here’s it’s ‘sister-script’ it does the same thing with vertical masks:

    https://www.vandueren.beforumstuff/jsx/maskedColumns.jsx

  • Filip Vandueren

    July 19, 2005 at 10:14 pm
  • Ruediger Chmielus

    July 20, 2005 at 11:20 am

    I just dont know what I can say anymore….
    you are really flattened me….
    ….wow….

  • Filip Vandueren

    July 20, 2005 at 12:20 pm

    Forget about it 😉

    It’s a nice effect and I had thought about it before;
    I just need someone else to get me going before I go and find a solution 😎

    By The way, I think you get the best effects when you use something like 10 ms, and maybe 2 pixels instead of 1.
    As I said with frame-blending enabled (if it’s a video layer, if it’s a pre-comp you need to enable the frameblending there.)
    You can use positive or negative values to get a different effect, and the vertical sometimes gives way better results.
    Depends on the motion.

    I look forward to seeing your final movie if you can upload it somewhere ?

  • Ruediger Chmielus

    July 21, 2005 at 7:12 am

    Filip, you can be sure that you will be the first to see;)
    I hope that we can shoot the footage in the next weeks. You are right about the frame blending and the pixel width -ah those wonderful possibilities;)
    If you need any help with anything I would be happy to support you – I owe you much.
    Keep up with your outstandig work.
    I will keep you informed about the Project.

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