Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

wiggle expression resets by itself

New Here ,
May 13, 2018 May 13, 2018

Hi all,

I am experiencing a weird problem with the wiggle expression. Basically, I have applied the wiggle expression to each of those shape layers containing a dots you use on the screen. Not on the lines.

The moment I create a new shape layer (screen shot 2 the black rectangle) all the wiggle expression values on the dot kind of resets and I have new values for their position. Since they also have some keyframes animation, this behavior screws up all the animation I made.

You can see how the position of the dots in the two screenshots is different. Even though it has been takes at the same time. The only difference is that I created a rectangle. Anybody knows why??...it's so weird and beyond my comprehension

Thanks a lot

Screen Shot 2018-05-13 at 15.46.41.png

Screen Shot 2018-05-13 at 15.47.34.png

695
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 13, 2018 May 13, 2018

Nothing weird about it. wiggle() is a random function and the random seed is calculated using layer index and a few other things like property stream index. Hence it changes every time you add or delete something. use the seedRandom() function with manual values before your wiggle. Read the help on that subject.

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 04, 2023 Dec 04, 2023
LATEST

true legend, you're saving people's projects years later, thanks
from now on I'll add seedRandom(1) everytime before wiggle expression

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines