Most appropriate sub-area of p5.js?
p5.js version
2.3.0
Web browser and version
Firefox 151.0.4
Operating system
MacOSX 26.5.1
Steps to reproduce this
Steps:
- Create a WebGPU sketch
- Run following snippet
- Canvas should be grey, but isn't
Snippet:
async function setup() {
await createCanvas(400, 400, WEBGPU);
noLoop();
}
function draw() {
background(128);
}
Canvas exists, but the draw doesn't seem to run. A workaround is using noLoop() when frameCount > 1
Most appropriate sub-area of p5.js?
p5.js version
2.3.0
Web browser and version
Firefox 151.0.4
Operating system
MacOSX 26.5.1
Steps to reproduce this
Steps:
Snippet:
Canvas exists, but the
drawdoesn't seem to run. A workaround is usingnoLoop()whenframeCount > 1