stroke angle (in 360 degrees)

May 7, 2010 at 12:41pm

stroke angle (in 360 degrees)


How do I calculate the angle of a stroke (vector) drawn with a mouse?

See below patch what I am trying to do:

– Pasted Max Patch, click to expand. –
May 8, 2010 at 3:39am

Just a quick hack – added ‘zero’ message making output basically relative to click origin
Added ‘+ 1′ to make angle 0 to 360 instead of +/- 180.
Needs something else instead of knob for visualising
Hope it helps


You must be logged in to reply to this topic.