Removes the sketch from the web page.
Calling remove()
stops the draw loop and removes any HTML elements created by the sketch, including the canvas. A new sketch can be created by using the p5() constructor, as in new p5()
.
Examples
This page is generated from the comments in src/core/main.js . Please feel free to edit it and submit a pull request!