direction of a 2d vector?

Morgan's icon

I'm making a patch with a graphics tablet, and I want to know exactly what direction the stylus is going. My trig is rusty and covered in barnacles. Please see the atcd. patch; I think the numbers are up to where you need to use arctan or cos or something, but. . . . .

gracias

Andrew Benson's icon

You are thinking too hard about this.

ab

Max Patch
Copy patch and select New From Clipboard in Max.

Morgan's icon

sweetness