| Topic: Calculating points along a curve (Page 1 of 1)  | |
|---|---|
| Paranoid (IV) Inmate From: San Antonio |  posted 12-05-2006 00:36 Objective: Get a lot of coordinates along a curve, ideally, at a customizable interval (ie every 3px, 5px, 10px, etc along the line). | 
| Lunatic (VI) Mad Scientist From: Massachusetts, USA |  posted 12-05-2006 09:23 A curve described by a list of points is called a Spline. There are a lot of ways to create a spline from a list of points, the simplest being a straight line from each point to the next. More complicated spline representations can be smooth. | 
| Paranoid (IV) Inmate From: Norway |  posted 12-05-2006 10:22 
 | 
| Paranoid (IV) Inmate From: Madison, Indiana |  posted 12-05-2006 20:37 If I understand what your asking, I would say that you will find it easiest to implement a parabolic blending curve. | 
| Paranoid (IV) Inmate From: San Antonio |  posted 12-05-2006 21:55 Thank you three. | 
| Paranoid (IV) Inmate From: Norway |  posted 12-05-2006 23:48 If you haven't already, make sure to check Paul Bourke : Interpolation methods. | 
| Lunatic (VI) Mad Scientist From: Massachusetts, USA |  posted 12-06-2006 07:47 poi: if you don't have a separate equation for each dimension, then you'll get the same values for x, y, and z. | 
| Paranoid (IV) Inmate From: Norway |  posted 12-06-2006 09:05 |