I am using this jquery code to have falling confetti on a page. Here is the demo page.
It works well and I see I can the start and stop functions to controls the updates from happening but I don't see a "clear()" method that would remove all of the confetti from the canvas.
Here is my html below, I have a background on my canvas and I don't want that to be removed but I simply want a way to clear out all of the confetti from the canvas so I only see the background image.
<canvas style="background-repeat:no-repeat;background-image: url('/Content/Images/myImage.png');" id="confetti" width="1" height="1"></canvas>