Jump to content


Bezier Plugin Question

Recommended Posts

Hi, I was wanting to draw a car sliding down a curve. The car is already an svg image but I was thinking I need to render a "linear bezier path" with the GSAP Bezier plugin so that I can have precise control in how the car makes contact with the line thoighout the GSAP Bezier animation. My approach would be two have two parrallel paths, one in which the car traverses and another below that is drawn and makes contact with the car's tires throughout. This is crazy, but I have never just drawn a line with GSAP (HTML5 yes). How would I draw the actual linear path that the svg car's tires are contacting. I am more familiar with how to do this in HTML5, but would like to see GSAP's way of rendering a straight line and matching these coordinates up to the svg sprite motion.

Link to comment
Share on other sites

Cool Diaco. Thank you. I will try this out tomorrow.

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.