stroke angle (in 360 degrees)

May 7, 2010 at 12:41pm

stroke angle (in 360 degrees)

Hi

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. –
#50245
May 8, 2010 at 3:39am

Hi
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
MM

#180319

You must be logged in to reply to this topic.