[p5.js 2.0 Bug Report]: push() should return renderer state
Open
@davepagurek is already working on this.
Since Dec 10, 2025.
Area:Core
p5.js 2.0+
- Dominant language
- JavaScript
- Stars
- 24k
- Forks
- 3.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 25
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
...
According to the comments in p5.Renderer2D.js, the super class renderer should return the current state after pop() has finished, but there is no return in p5.Renderer.push:
p5.Renderer2D:
p5.Renderer
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.