drawing discontinuous lines with jit.gl.sketch
hello!
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:
thank you!!
-emmanuel
hi efe!
at least to solve the window resizing problem you can use this method:
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!
o
Hey Carsol:
that is exactly what i was searching for, thanks!