AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mouse movement along a catmull-rom spline

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Kahz



Joined: 12 Sep 2005
Posts: 190

PostPosted: Fri Sep 28, 2007 4:14 am    Post subject: Mouse movement along a catmull-rom spline Reply with quote

If I have two points a beginning and a destination how can the movement between these two points be plotted with a random point in the middle using catmull-rom interpolation?
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Fri Sep 28, 2007 8:44 am    Post subject: Reply with quote

a catmull-rom spline requires 4 points at least (technically just 3).

you will have to write a loop to iterate along the path.

It looks interesting, but I need to actually sleep tonight
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
evandevon



Joined: 22 Apr 2008
Posts: 82

PostPosted: Wed Feb 16, 2011 5:29 am    Post subject: Reply with quote

On this thread is a script VXe made for Cubic Bezier curves and one I posted for Catmull Rom Splines.

http://www.autohotkey.com/forum/viewtopic.php?p=421985#421985

Evs
_________________
Inventing problems that need solutions...

Open Communicator
MouseTrainer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group