Add WebGL visual regression tests for transform functions by aashu2006 · Pull Request #8465 · 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

@aashu2006

Copy link

Resolves #8464

Changes:

  • Added a new Transforms visual test suite for WebGL
  • Added visual regression tests for:
    • translate() moving shapes along x and y axes
    • rotate() rotating shapes around the z-axis
    • scale() uniformly scaling shapes
  • Added baseline screenshots for the new visual tests

Scope is limited to visual tests only; no rendering or engine code changes.

Screenshots of the change:
Baseline screenshots for the new visual tests are included in
test/unit/visual/screenshots/WebGL/Transforms/.

PR Checklist

  • npm run lint passes
  • [Inline reference] is included / updated
  • [Unit tests] are included / updated
Copy link

Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

aashu2006 reacted with heart emoji

@davepagurek davepagurek merged commit 270eb1c into processing:dev-2.0

Jan 29, 2026

2 checks passed

@aashu2006

Copy link

Author

Thanks @davepagurek for the quick review and merge on the WebGL transform tests PR, really appreciate it!

@ksen0 ksen0 added this to the 2.3 milestone

Feb 11, 2026

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

Reviewers

@davepagurek davepagurek davepagurek approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Status: Completed

Milestone

2.3

Development

Successfully merging this pull request may close these issues.

3 participants

@aashu2006 @davepagurek @ksen0