Forums > Jitter

drawing discontinuous lines with

Oct 13 2010 | 3:14 pm

I am trying to write a patch that can draw discontinuous lines: when the mouse button is not pressed the position of the first x and y coordinates is modified in order to drew new lines. However, when i try to move the position there is always an annoying line appearing before i can start drawing the new set of lines, any ideas?, what am i missing?

second question: how can i know dynamically the size of my window so i can rescale the position of the lines when i go full screen?

here the patch:

— Pasted Max Patch, click to expand. —

thank you!!

Oct 15 2010 | 12:00 pm

hi efe!

at least to solve the window resizing problem you can use this method:

— Pasted Max Patch, click to expand. —

the nature of lineto isnt breaking lines, but
sure theres a solution to keep on this with line and move but
for line painting you can use sketch strokes.. take a look on this:

good luck!

Oct 16 2010 | 4:10 am

Hey Carsol:
that is exactly what i was searching for, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter