Using X Y coordinates to draw

Oct 8, 2008 at 7:35pm

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?

Thanks!

#40230
Oct 8, 2008 at 8:27pm

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.

lh

#142186
Oct 8, 2008 at 8:52pm

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.

#142187
Oct 8, 2008 at 8:58pm

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.

lh

– Pasted Max Patch, click to expand. –
#142188
Oct 8, 2008 at 9:09pm

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

#142189
Oct 8, 2008 at 9:52pm

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?

#142190
Oct 9, 2008 at 10:53pm

Nevermind, I’ve got it all working :)

#142191

You must be logged in to reply to this topic.