Thank you PhiLho and quarks for your quick and thoughtful responses.
In November I posted to the Processing forums a listing titled "String art design using processing". The posts in this listing (bezierPoint issues (multiple curves)) is a continuation of that. I will copy it below:
String art was very popular during the 1970's. It involves pounding nails into a wood board at certain intervals, then winding string(s) around the nails to achieve an artistic effect. A video that demonstrates the making of a string art piece is given by this link:
string art video. For pictures of string art works, click on the following link:
string art images.
I am interested in converting clip art to string art patterns. The clip art would supply curves, and then I would need to mark positions for nails along the curves. Finally, I would care to simulate the weaving of thread around the nails. Any code snippets to facilitate this process would be appreciated.
*******************************************************************************************************************************************
quarks, the code you provided for me does what I described in this latest listing. You were right on the mark. I merely commented out the animation and replaced it with some fixed values to get the effect that I desired.
The next step, though, is to combine any number of lines, arcs, ellipses, and circles along with bezier curves in a path. In other words a "pt value from 0 to 1 in the draw() function" (see code) locates a point some distance from the beginning and ends of the path. Again, the code you provided, quarks, is a wonderful step towards this, but geomerative may need to be used (just a hunch..) unless your code could be abstracted to handle the other entities.
A final step would be to import coordinates from a SVG editor for the path entities. This is where I am wondering if geomerative would also need to be used.
I apologize for any confusion in my last post to this listing. I am new to Processing. I am talking about strictly 2D splines. Cusps and knots may be OK, but I honestly can't visualize it at this point. Any number of entities could be combined in a path.
Craig
P.S. The included image demonstrates what I mean by a path as opposed to a collection of bezier curves.