Line interpolation in Jitter

Jun 19, 2012 at 12:31am

Line interpolation in Jitter

Hi Maxers,
I’ve been trying for weeks to figure out how to draw simple plain lines in a jitter matrix using signal in 2 jit.poke~ objects (x and y coordinates).
I’ve tried a lot of different things, I guess my problem is my neanderthalian understanding of what’s happening… I blamed matrix size, sampling rate or simply line thickness but couldn’t find the solution to avoid dotted lines. I do realize that I’m drawing a 1-pixel thick line, so the closer it gets to horizontal or verticaln the more dotted it gets.
There must be a very simple trick that I’m missing…
Thanks,

– Pasted Max Patch, click to expand. –
#46109
Jun 19, 2012 at 11:04am
– Pasted Max Patch, click to expand. –
#166104
Jun 23, 2012 at 11:02pm

Thanks ćwiek. It does work with a small resolution! But if I change it to a higher res, dotted lines are back! And changing the interpolation time (line~’s right inlet) doesn’t do anything. That’s why I had 2 matrices in my original patch. I was trying to resample. Still stuck with this thing.

– Pasted Max Patch, click to expand. –
#166105
Jun 25, 2012 at 11:17pm

hi! sorry for late answer. if you want hi resolution i think it would be better to switch to gl world. check this example:

– Pasted Max Patch, click to expand. –
#166106
Aug 12, 2012 at 2:28pm

Hey ćwiek I’m the most sorry for taking even longer to reply. THANK YOU SO MUCH. This solves my problem indeed!! I’m pretty excited. cheers.

#166107

You must be logged in to reply to this topic.