FORUMS: list search recent posts

Dots and distance

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Joel Witmer
Dots and distance
on May 8, 2019 at 1:01:03 am

I've created a dotted, curved line using the spline tool. It has X number of dots.

If I adjust the curve the line changes length, which creates more dots.

But is there a way to keep the number of dots consistent irrespective of the line's length?

Basically, if the line gets longer the *spacing* between the dots would increase, not the number of dots themselves.

(I need to create an effect where it feels like dots are pinned to a curved line, sort of like what you'd get if you drew dots on a rubber band and then stretched the rubber band. Right now everything I'm finding that generates dots on a spline, which is the spline tool and Trapcode's 3D Stroke, treat the number of dots as a function of the spline length. There might be a way to do this with a function that adjusts the gap based on the length of the line but I can't find it or figure it out.)

Any ideas?

Return to posts index

Walter Soyka
Re: Dots and distance
on May 8, 2019 at 10:26:28 am

After Effects added expression access to path properties in Ae CC v15.0 (2018). With that, we can use expressions to position shape layers at specific points on the path. We can get those points by percentage with maskPath.pointOnPath(), which makes this sort of stretchy ribbon effect pretty straightforward:


Here's a sample project:

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]

Return to posts index

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