Craig Ugoretz
unread,Feb 15, 2013, 9:09:59 PM2/15/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello. I am trying to develop a program to help me to design string art. In simplest terms, string art is made by pounding nails into a piece of wood and then looping string around the nails for an artistic effect. A pattern is made by drawing path objects such as circles, ellipses, arcs, lines, and curves and making small marks to indicate where the nails should be placed. The pattern is then printed out and placed on a piece of wood before the nails are pounded.
I am looking for an algorithm to facilitate this process using a computer. I am wondering if what I need to do is specify a constraint satisfaction problem. For example, maybe: (1) some different paths need the same number of nails, (2) the straight line distance between nails should be at least "x" in., and (3) there should be at least "n" nails on some of the different paths. Above all, in subjective terms, the algorithm should make the result look "pretty". Other formulations of the constraint satisfaction problem could produce even "prettier results", I don't know...
If a CSP is what I need, what programming language(s) could it be in? If not, are there other algorithms that come to mind? There is a programming language named Processing that has a contributed library named Geomerative that caught my interest. Geomerative has examples, but no user's or programmer's manual attached to it. In general though, it has functionality to "polygonize". I've seen it work in example code, but am lacking a definition. I posted to the Processing Contributed Libraries forum last week, but have gotten no response. Hence, I think may be my question was too technical for it, possibly. I did, however, see the term polygonize come up in this forum, comp.graphics.algorithms, so I thought I would raise the issue here. Any other solutions are also welcome.
Thanks,
Craig