-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Topic
Description
WebGL transform functions (translate, rotate, and scale) currently do not have dedicated visual regression coverage in the dev-2.0 branch.
While these transforms are used throughout existing tests, there are no focused visual tests whose primary purpose is to validate their behavior in WebGL mode.
Proposal
Add a small, low-risk set of visual regression tests that verify basic transform behavior in WebGL:
translate()moves shapes correctly along the x and y axesrotate()applies z-axis rotation correctlyscale()uniformly scales geometry
Scope
- Visual tests only
- No rendering, engine, or API changes
- No refactoring of existing tests
Goal
Provide baseline visual regression protection for fundamental WebGL transform operations and reduce the risk of future regressions during p5.js 2.0 development.
Initial Tests Planned
translate()moves shapes in x and y axesrotate()rotates shapes around z-axisscale()uniformly scales shapes