Hi folks.
Since Inkscape isn't a math program, I thaught of using Autohotkey to read the pixels along a line and calculate the derivated function and draw this using
Basically I got it to work (the ahk script that performs mouse movement and drawing works as expected).
The problem is - The
tool cannot draw lines that has a smoothness of zeero. So instead of a rugged curve form, peaks does transform into small loops instead.
That was entirely my fault because I first expected :pfh:to act similar to simple pen tool of MS paint, but as you can see I was wrong in that assumption.
I did spend some hours to get the script working, and I have an idea that if I skip some pixels (calculate average) I can overcome this problem, but will end up with a smoother curve (doesn't handle short peaks) and I really doesn't want to spend time for a solution that doesn't work good enough.
Question I hope being answered - How can I (
or actually it is my script that does all click and mouse movements) draw a line where I move the mouse pointer one pixel to right each time and preventing the curve being any smooth.