I have created a little patch to draw some lines in a jit.window. I am using [jit.gl.sketch] with the command [lineto $1 $2].
The problem is:
If I use [pack] to get the x- and y-coordinates to [jit.gl.sketch], I can draw also diagonal lines. But a vertical line (Y) is not possible because of the right inlet to [pack]! I would have to change also X, but so Inever get a clear vertical line.
If I use [pak] I can draw also a proper vertical line (Y), but for a diagonal line I just get some kind of "zig-zag"...
Could anybody has a look on this patch to solve this problem?