4. 画布

4.3. 移除画布


noCanvas()

示例:

▶️运行示例代码



function setup(){
  noCanvas();
};


Description

Removes the default canvas for a p5 sketch that doesn't require a canvas

Syntax

noCanvas()