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()
.
उदाहरण
Notice any errors or typos? Please let us know. Please feel free to edit src/core/main.js and open a pull request!