Draws bezier curves based on mouse cursor position