Jump to content

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

BezierPlugin without the curve

Go to solution Solved by OSUblake,

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

Is there a method of getting the same functionality of the BezierPlugin, without curves?  


The functionality is perfect, I just want perfectly straight lines without the curves.  


The codepen shows an example with the BezierPlugin, and another example (without GSAP) that plots just the lines. 






See the Pen pjxjLN by anon (@anon) on CodePen

Link to post
Share on other sites

Thank you for the reply.  


I have updated the pen:  

See the Pen pjxjLN by anon (@anon) on CodePen


It was some bad syntax.  


The docs straightened it up.  


Thanks again.  

  • Like 1
Link to post
Share on other sites

Didn't know you could do a path with svg polyline.  That changes everything!  


Thanks so much.  

Link to post
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.