ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Math.sin curve question

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ilya Sire
Math.sin curve question
on May 15, 2019 at 2:15:46 pm


I have this curve line in Z (white line), how can i have more like half circle (red line) ?
please image below

here i attached the aep

Return to posts index

Oleg Pirogov
Re: Math.sin curve question
on May 16, 2019 at 1:02:18 am

q1=thisComp.layer("Ellipse "+thisProperty.propertyGroup(1).name.split("-")[0]).transform.position[0];
q2=thisComp.layer("Ellipse "+thisProperty.propertyGroup(1).name.split("-")[1]).transform.position[0];

BTW, you'll get these artifacts:

cause that's Particle World interpolates between frames. A workaround for this is to increase frame rate to something like 240 or stretch the whole animation in time.

Return to posts index

Ilya Sire
Re: Math.sin curve question
on May 16, 2019 at 5:56:09 am

yes increase frames will make smoother it too,
thank you for your help. I really appreciate it


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved