Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Duplicating and randomizing shape layer

  • Duplicating and randomizing shape layer

    Posted by Albert Kowalski on June 22, 2024 at 4:10 pm

    Hi!

    Here’s what I am trying to achieve. I’ve created a simple round shape layer that is scaling from 0 to 100% and disappearing after (opacity to 0%). Now I want to duplicate it multiple times (like x100 or more) and also randomize XY position. I know I can do it by hand but that wouldn’t be very effective. Is there a way (a script maybe?) to make it faster and easier? Adding Repeater and Wiggle Transform to the layer is not working since I need the scale to change differently in time for every shape. And the scaling of the shape layer works for all the duplicated ones at the same time.

    Hector Vera replied 2 years, 1 month ago 2 Members · 3 Replies
  • 3 Replies
  • Hector Vera

    June 24, 2024 at 7:03 pm

    Yup! It is quite possible to achieve what you are looking for using scripting and automation in Adobe After Effects. Here is a general idea on how you can be able to achieve this:

    1. Create your original round shape layer with the shape layer scaling from 0 to 100% and disappearing after (opacity to 0%).
    2. Apply a “Python Script” effect layer to the shape layer.
    3. Write a Python script to create 100 duplicates of the original layer and randomize their position and scale.
    4. Use the “Python Script” effect to apply the Python script to the shape layer.
    5. Adjust the parameters in your Python script to change the scaling of each duplicate shape layer at different times.

    Hopefully this helps and if you have any other questions, feel free to contact me and I will see what I can find to help you on this! 🙂

  • Albert Kowalski

    June 25, 2024 at 6:41 am

    Thank you, that was really useless.

  • Hector Vera

    June 25, 2024 at 6:28 pm

    You tried the Python Script and it did not worked out for you. Sorry that it did not worked out, what was it that you are hoping to achieve to solve this issue if its possible I can know a bit more details at the end goal. Hope to hear back from you soon.

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