M ${x} ${y} L ${clientX} ${clientY}
M ${x} ${y} L ${clientX-(clientX>500 ? 500 : 300)} ${clientY-(clientY>500 ? 500 : 300)}
You can use:
x, y, clientX, clientY, pathNo, i
i: counter inside each path.
Shift
and move mouse for interactive redraw. Slide values to change perspective.