2 Attachment(s)
Linear Interpolation Example for RickyRombo
This is a simple example of linear interpolation between two points, also known as a Linear Bezier Curve:
http://en.wikipedia.org/wiki/B%C3%A9zier_curve
It follows this formula:
[img:left]http://upload.wikimedia.org/math/a/d/9/ad90a6fecd5324dc32f75f0b19c2d684.png[/img]
In response to this thread:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=177867
It may be useful to other people for dead reckoning, or simple for smooth movement between points, given a time interval.
Controls:
Left click the screen and the ball will move to the cursor.
Re: Linear Interpolation Example for RickyRombo
netninja, this is great. Thank you.
Marv
Re: Linear Interpolation Example for RickyRombo
Nice example, Thanx netninja