Using X Y coordinates to draw
This is my first/post on the forums, as I am quite new to MaxMSP. I am working on a project for a college course and have found that I need to be able to draw (like on the lcd object) but instead of using my mouse, i need it to use x y input. Is there any way this can accomplished – and if so, what is the simplest way?
Have a look at the [lcd] help file in the basic_shapes subpatch and you should soon be on your way.
If you’re still not sure then you might need to read or re-read some of the first max tutorials; 9 and 10 will be particularly helpful. I was introduced to max about this time last year and I taught myself how to use it by modifying the tutorial patches to see what would happen and reading the helpfiles for the objects i encountered. good luck.
I have checked the help file as well as the tutorials to no avail. What I have currently is a tracking object outputting constant x and y values. I need those to values to be used to draw on a screen, thereby mimicking my tracked object.
The only item I see under the help file that may be of use to me is the "linesegment" with start and end x and y values, thought I’m not sure how I would use this with a constant flow of 1 x and 1 y value.
Here’s a patch that should do work for you (its a bit like an etch-a-sketch!). You can even change the size of the circle. I hope it is helpful.
----------begin_max5_patcher---------- 661.3oc0WtsiaCBDF9ZmmBjUtqtq3fO165yQ0pJhCMKs13nXRaZWsu60.1Qj Tmr3Cx6VEIGwXB7OeyvLjmW44uo5Dq1G7IvW.ddOuxySaRYvqcrmeI8TdAsV OM+RVcMcGyOv7NI6jTaOufQOzYs5nrfIk+dOyrz99fGae0dpL+ItX2WOvxkl 2lk9.L.fhvpuHI5AMlN+S9VkPVy+idsPpIYLy2p23pMe+igoc6r3XIWzr2Zw hsV.AsTu.9e9.mVXMciV0yGoL9xpUpGANxCA6WMJ3evgDrAvuIN1PE67C.9b g7tjAGFqnQjlID7CQA.LbPjgj0KYPCjL3wPlikaX2NkP46AsnvAFPhzj.pd5 BCZbVd4wRam0FKIiDKMdX2xRfyGp5OI5Cfn6hu6gMBTiJDLdz4N3v2amplBP ZyiPvweXBSduAj8ze.flOiq1KhXJ9hyLkcQtd9xBKn9wR3Rfk4oFCJS26IEO 5ZL8fkz+2q71laLuTI9MiJ25lK6oM.o5mzBvZDXMFrl.VGNsSSlqxfhRGwcY d6pwTju8ltcAuVmzz8caNjSzHIxj5XZHkXmBYWEoauKpxa7JqrmdyTtzcCsb W8h2HTw0WrUKQk8KYPc0wC4c9Y2cl.nyZbKqVxETIuRXMIUyQqI8De6VlvV0 k7s6qZvTqHvw5JrIYltOjtAfG6MR4pVaJx.ftHU3.jJDoZNhfgZsByNOZhh8 JgzuZUcS.D2U6D0jaAaxvB1STSwtDTICKnhBSrBp3nnYKnRbMnhWtfpKRZX7 aABoHxhJIjKTZYkTpqTZ4NKp9mhuNkxVTLc010ulRGXQeSEAS+o1N.yP+Imj Z7DjZacsYPpgoyeUC0+1TUmMAaoU8nKDayfWV8W.jpNa4B -----------end_max5_patcher-----------
That helped me put the pieces together :) Thank you very much!
Oop, sorry to continue this but now i have a new issue. How can i export the information from a cell block with 1 cell to the x or y box in that patch?
Nevermind, I’ve got it all working :)