Forums > MaxMSP

Using X Y coordinates to draw

Oct 08 2008 | 7:35 pm

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?


Oct 08 2008 | 8:27 pm

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.


Oct 08 2008 | 8:52 pm

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.

Oct 08 2008 | 8:58 pm

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.


— Pasted Max Patch, click to expand. —
Oct 08 2008 | 9:09 pm

That helped me put the pieces together :) Thank you very much!

Oct 08 2008 | 9:52 pm

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?

Oct 09 2008 | 10:53 pm

Nevermind, I’ve got it all working :)

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP