Hi everyone,
I'm learning pythonista and am trying to work on this example script:
https://gist.github.com/8f81907e4844d579ef8eda2ed5d65d5e
It allows you to draw freely in the bottom view.
I've added a switch, with which I want to change the drawing behaviour from drawing freely to only being able to draw straight lines.
I want the app to move the line following the touch until the touch is ended, which is when the line is supposed to be drawn. I hope this is understandable.
Can anyone give me some pointers?