Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Blake

DrawSVG plugin with glowing point

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hey there! I'm wondering if anyone knows how to enhance the drawSVG write on effect by adding a glowing point to the stroke that reveals the layer underneath. When the mask is being drawn on, is there a way to add a shape or perhaps a glowing circle to the point that is revealing the layer underneath? 

Perhaps there's a way for an object like a small circle to follow the path that the drawSVG plugin also follows?

Sorry if this sounds too confusing and thanks for taking the time to read.

Best,
Blake

Link to comment
Share on other sites

You can have anything you like follow the path as it draws. Here's an example:

 

See the Pen MpLVvO by PointC (@PointC) on CodePen

Is that what you meant?

 

Happy tweeing.

:)

 

  • Like 4
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.
×