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

Spinning dashes around an oval

Community Beginner ,
Sep 21, 2017 Sep 21, 2017

Copy link to clipboard

Copied

Hi,

Im trying to create a spinning oval (Elipse) where the dashes follow a path equal to a trim path, without the trimming part.  Basically that the dashed boarder of the oval   spins.

Can someone help me out?

It would be much appreciated

Views

284

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Sep 21, 2017 Sep 21, 2017

Animate the offset value. Just set a couple of keyframes. Your timeline should look something like this:

Screen Shot 2017-09-21 at 8.28.45 PM.png

Pay attention to the stroke and offset properties.

You could also add an expression like this to Offset:

time * 400

If you want to reverse the direction you'll run into trouble with big negative numbers so start out with a big positive number like 6000 for the first and then something like 100 for the last. If you are using the expression to get it to move counter clockwise use this expression:

6

...

Votes

Translate

Translate
Community Expert ,
Sep 21, 2017 Sep 21, 2017

Copy link to clipboard

Copied

Add dashes and gaps to get the stroke to look the way you want it to look making sure that the start and ending dash on the first vertex are correct then animate the offset. Nothing to it. You don't use Trim Paths or even have to add an animator, just add dashes or dashes and gaps. Just spin down the stroke properties and you'll see the option to add dashes. Click on the plus and you are 90% done.

Votes

Translate

Translate

Report

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
Community Beginner ,
Sep 21, 2017 Sep 21, 2017

Copy link to clipboard

Copied

Hi Rick, thanks for your swift response.  So far i have arrived at this point.  all i want it to do is spin with the dashed following each other

Screen Shot 2017-09-22 at 02.27.43.png

Votes

Translate

Translate

Report

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
Community Expert ,
Sep 21, 2017 Sep 21, 2017

Copy link to clipboard

Copied

Animate the offset value. Just set a couple of keyframes. Your timeline should look something like this:

Screen Shot 2017-09-21 at 8.28.45 PM.png

Pay attention to the stroke and offset properties.

You could also add an expression like this to Offset:

time * 400

If you want to reverse the direction you'll run into trouble with big negative numbers so start out with a big positive number like 6000 for the first and then something like 100 for the last. If you are using the expression to get it to move counter clockwise use this expression:

6000 - time * 400

The larger the last number the faster the movement.

Votes

Translate

Translate

Report

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
Community Beginner ,
Sep 22, 2017 Sep 22, 2017

Copy link to clipboard

Copied

LATEST

Rick i pretty much love you right now.

Thank you very much.

Votes

Translate

Translate

Report

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