Jump to content
Search Community

How to animate a circle border as I scroll

gsapmonkey test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi,

 

I am trying to get a circle-dotted border animated. As I scroll, the circle arc should fill in the distance between the solid dots with borders as shown in image. Is this possible with gsap. Any plugin like morphSVG?

 

The closest I found though its not associated with scroll is below

See the Pen JjVNwNL by codingchefs (@codingchefs) on CodePen

  

 

This is the codepen with my work in progress

 

 

Any ideas how this can be accomplished?

 

image.thumb.png.c314b1203da4846ecfdc25cb92f66ec8.png

See the Pen wvZdYvo by codingchefs (@codingchefs) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...