Hallo, Isidro Gonzalez hat gesagt: // Isidro Gonzalez wrote:
To my knowledge, there are two GEM objects capable to draw a polygon with lines: 1-polygon 2-curve But both are initialized with the number of points of the polygon or curve and you have to send them as many messages for each point(XYZ) as inlets they have. Is there a way to workaround this to avoid a "gigantic spider" of messages if I want to draw (and re-draw) a polygon, say of 50 points...? I mean an object that can draw a curve of any points and accepts a list with ALL the points in the curve... Should exist, but I am not able to find it.
You could use the "double gemhead idiom" on a [curve 2]. Search the (pd-list?) archive for examples.
Ciao