dgu

cubic spline and animation along a path

Recommended Posts

Dear Team,

sorry me newbee question,

does anyone have a starting point for a dynamic cubic spline base on selected points added manually ?

thank you in advance 

Kind regards

dave

 

 

Share this post


Link to post
Share on other sites

Hi @dgu,

 

I am not sure if I interpret your question correctly.

Could you represent your intention a little more concrete - preferably with a CodePen: What means 'manually ' for you?

 

best regards
Mikel

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

Hello Master,

 

First, thank you for your answer.

the next link describe what i want to achieve, but what is missing is how you control the path by adding points manually , then update the path back an restart the animation ? thank you in advance

 

 

Share this post


Link to post
Share on other sites

Hi @dgu,

 

If you just change the path (id = "path"), the drag function works as desired.
Is this your point "by adding points manually"?

 

 

Happy dragging ...

Mikel

 

 

  • Like 3

Share this post


Link to post
Share on other sites

Hi @dgu,

 

If you update all necessary variables and functions after each new point, it should work - @OSUblakecould say something concrete.

Here only roughly matched

 

 

Best regards

Mikel

 

 

  • Like 4
  • Thanks 1

Share this post


Link to post
Share on other sites

woooow Mikel did it again !!!!

i would like to thank you  alot , i am having hard time with javascript but with all the sample you provided, it s getting better,

thanks a lot , i can move forward..or start in fact :)  thanks a lot again .it s time to buy the greensock book for me :) 

 

  • Like 2

Share this post


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.