HTML and CSS Reference
Listing 8.21. index.html—Modifying the draw() function to show the path
Step 3: Add a Clear button so users can remove telestrations and start again
As a final step you need to add a Clear button so users can remove their telestrations and
start again. An easy place to put this is in the controls menu you already have, by adding
The new case for your big switch statement is shown in the next listing.