Line interpolation in Jitter

Martin's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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,

ćwiek's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Martin's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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.

ćwiek's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Martin's icon

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.