Processing code that enables the user to draw with the cursor as a pen.