-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Milestone
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build process
- Unit testing
- Internationalization
- Friendly errors
- Other (specify if possible)
p5.js version
2.0.0
Web browser and version
Firefox 137.0.2 / archlinux
Operating system
Arch Linux 2024-04-18
Steps to reproduce this
Steps:
- Create a p5.Graphics object
- Try using one of the new vertex functions, e.g.
splineVertexon it. - Get an error about that function missing.
- (workaround) Call that function anyway using
._renderer.splineVertex
Snippet:
function setup() {
createCanvas(100, 100)
let g = createGraphics(width, height)
g.beginShape()
g.splineVertex(10, 10)
g.splineVertex(20, 10)
g.splineVertex(20, 20)
g.endShape()
image(g, 0, 0) // #7579
}Metadata
Metadata
Assignees
Type
Projects
Status
Completed