@gluon wrote:
Hi OF, putting this in beginners forum.
I need to draw curves and use them as path for moving elements all along them.
This is why I chose ofPolyline (I don't need all ofPath features, I think)At the beginning, I generate n ofPoints and I put them in my ofPolyline using curveTo() (which is probably NOT the right way).
I draw that.
nice (except for the first and last points because I put them using addVertex() and from 0 to 1 and from n-2 to n-1 there are lines and not curves)Then I want to move some points from a position on the screen to another.
I do that and as soon as I did that, the draw mode from and to the point I changed are lines and no more curves.I suspect a bad strategy by me...
Any good practices with that ?
Thanks a lot
Julien
Posts: 5
Participants: 3