How to Clear an HTML Canvas for Redrawing in JavaScript | CodeTrail