Fix rotation transformations outside of push/pop applying to main canvas in WebGPU by davepagurek · Pull Request #8423 · processing/p5.js

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@davepagurek

Copy link

Contributor

Resolves the transformation issue in #8419 (comment)

Changes:

  • Adds a resetMatrix() before drawing to the main canvas
  • Adds a visual test

Screenshots of the change

Before:
image

After:
image

PR Checklist

@davepagurek davepagurek merged commit caf8f37 into dev-2.0

Jan 17, 2026

5 checks passed

@davepagurek davepagurek deleted the fix/webgpu-rotation branch

January 17, 2026 20:58

@ksen0 ksen0 added this to the 2.2 milestone

Feb 11, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.2

Development

Successfully merging this pull request may close these issues.

2 participants

@davepagurek @ksen0