参考 noCanvas()

noCanvas()

Removes the default canvas.

By default, a 100×100 pixels canvas is created without needing to call createCanvas(). noCanvas() removes the default canvas for sketches that don't need it.

示例

Notice any errors or typos? Please let us know. Please feel free to edit src/core/rendering.js and open a pull request!

相关参考