Hey there! I’m a brand new user to maxMSP, using max 5 at varsity while doing interactive studies.
I’m trying to create a digital etch a sketch, and so far I’ve gotten components such as the colour picker, pensize and interface working smoothly. I’m obviously trying to draw on the LCD (sized 800 by 600) with two dials place below it, one for inputting x co-ordinates, one for y. The problem is however, I can’t get the pen to start centered on the LCD when starting the patch, and I can’t seem to get the dials to correspond to the correct LCD co-ordinates to act like one would expect an etch a sketch to work.
As mentioned, my max knowledge is limited, and my Java basically non-existent, anyone know how to help?
re-check the help patch, especially the lineto and moveto commands, the multislider connected to [lineto $1 $2] almost does what you want already
I’m afraid that’s where my issue lies, it for some reason lets the pen rocket off the LCD with no hope of returning it to the drawing window unless I click on it again to reset it. I need to know how to precisely give it coordinates to go to via position on the dial.
You might want to check out one of the examples that comes with Max that is essentially an etch-a-sketch emulator. It can be found here:
It is a pretty straightforward implementation all done through jit.gl.sketch.
C74 RSS Feed | © Copyright Cycling '74