move images within lcd or jit.window?

May 2, 2013 at 1:14am

move images within lcd or jit.window?

so guys I need to move an image (.jpeg, stored on my computer) in real time: i’m sending stream of numbers for the coordinates x y and the depth (the image is gonna be smaller or bigger). What do you me suggest to use, the lcd object or the jit.window?
I’ve been trying doing something with lcd but i could just menage to have some defined values with the message objects (and in my mind I need to work with number boxes).
Any idea?

May 2, 2013 at 5:03am to load your image to move/scale the image

(you’ll also need a to render to a jit.window)

May 2, 2013 at 11:54pm

thanks Nat, that is what I was trying to do but I think I’ve messed up something because I can’t see anything in the window…

  1. window.rtf
May 3, 2013 at 12:06am

This will work a little better:

– Pasted Max Patch, click to expand. –
May 3, 2013 at 1:09am

thanks Nat this is working better.. but what if I need the image to be smaller (not changing the y axes just smaller)?

May 3, 2013 at 1:22am

You need to change the first 2 parameters of the scale at the same time, you could do this with the pak object.

May 6, 2013 at 10:09pm

thanks nat


You must be logged in to reply to this topic.