Rescale x/y values to "0"

Turo's icon

Hello everyone!
I need your help, please ... !! I am working on Max / Msp patching for the exercise on a graphics tablet. Basically I need to normalize x / y to 0 when I put the pen anywhere on tablet ... how can I do?
Thanks in advance for any kind of collaboration !!!

I paste a basic example

Basic Example .maxpat
Max Patch

...

double_UG's icon

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

Turo's icon

Many thanks double_ug :))) yeah! is what i asked... you have been very kind .. now I have to tell the program that once it has calculated the relative location to the start point (rescaling to 0) it must continue to write with the rescaled coordinates until 'new session' (imagine that I am signing, it cannot rescale the values ​​when I detach from the name to write the surname, for example ... do you know what I mean?) I believe that with a gate and a button I could solve the problem .. right? Thanks double_ug and and sorry for my english :(

Turo

double_UG's icon

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

Turo's icon

Sure! ...I still have little familiarity with max objects...
In my course the professors are making us crazy between C-sound, Max, and super-collider! :)
Thank you for your help!!