Most appropriate sub-area of p5.js?
p5.js version
1.11.10 (also tested on 2.0.5,issue exists in all versions)
Web browser and version
all browser
Operating system
windows 11
Steps to reproduce this
Steps:
- Paste the code below into the p5.js web editor (editor.p5js.org)
- Click "Play"
- Wait 1-2 seconds
Snippet:
function setup() {
createCanvas(400, 400, WEBGL);
}
function draw() {
background(200);
beginShape();
// Creating 100,000 vertices (exceeds 65k limit)
for (let i = 0; i < 100000; i++) {
vertex(random(-200, 200), random(-200, 200), random(-200, 200));
}
endShape();
}