-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Nature of issue?
- Found a bug
- Existing feature enhancement
- New feature request
Most appropriate sub-area of p5.js?
- Color
- Core/Environment/Rendering
- Data
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Other (specify if possible)
Which platform were you using when you encountered this?
- Mobile/Tablet (touch devices)
- Desktop/Laptop
- Others (specify if possible)
Details about the bug:
- p5.js version: 0.7.3
- Web browser and version: Google Chrome 71.0.3578.98 and Firefox Developer 66.0b1
- Operating System: Windows 10
- Steps to reproduce this:
function setup() {
createCanvas(800, 800, WEBGL);
}
function draw() {
background(51);
beginShape(LINES);
vertex(30, 20, 0);
vertex(85, 20, 0);
vertex(85, 75, 0);
vertex(30, 75, 0);
endShape();
}
When I run this snippet of code in the p5.js web editor, it works as intended. When I run it locally in Chrome or in Firefox, my console is flooded with errors. In fact I can't get vertex to work at all in either Chrome or Firefox now. See screenshots.
Metadata
Metadata
Assignees
Labels
No labels


