We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Images following a path
Page Index Toggle Pages: 1
Images following a path? (Read 432 times)
Images following a path?
Dec 14th, 2007, 3:12pm
 
I'm not entirely sure where to ask this so I entered it here, please do move the topic if it's the wrong place.

I want an image to be shown several times along a predefined path. The path itself is fairly dynamic and can be changed so the images and their placements need to read the information the line uses (granted I won't actually read the line but rather use the bezier curve as a template and use it's input values to place the images).

Note that I do not want an animated sequence where the image actually follows the path, I want to place static images along the path.

Hope this small diagram makes any sense to you.
START x--------> END
START x-OOOOOO-> END

Any ideas are welcome.

Re: Images following a path?
Reply #1 - Dec 14th, 2007, 3:27pm
 
Check out the reference to curvePoint/bezierPoint: http://processing.org/reference/curvePoint_.html
http://processing.org/reference/bezierPoint_.html

That should help you do what you want.
Re: Images following a path?
Reply #2 - Dec 14th, 2007, 4:17pm
 
Quote:
Check out the reference to curvePoint/bezierPoint: http://processing.org/reference/curvePoint_.html
http://processing.org/reference/bezierPoint_.html

That should help you do what you want.


Amazing how blind one can get from starring at the same text over and over looking for somthing just like that.

Thanks a bunch!
Page Index Toggle Pages: 1