We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, i'm loading 3 PShape moveable using the MouseFunction/Example (http://www.processing.org/examples/mousefunctions.html) and i want this elements to change tone and dimension when moved (based on the distance between each others). it's a week i'm searchin' around the web to find a solution but now i'm here asking... i tried dist but it doesn't work, and i can't imagine a way to handle this becouse my shape appear in this way:
shape(svg, bx, by, boxSize, boxSize); //same dicitures, basic script of the example
i can work on the tone using fill and on the dimension directly adding values to boxSize but i can't extract the distance value becouse of bx and by
please help me, best, Filippo