Skip to content

note strokeweight isn't scaled in webgl/webgpu#8850

Open
Nixxx19 wants to merge 1 commit into
processing:dev-2.0from
Nixxx19:strokeweight-transform-note
Open

note strokeweight isn't scaled in webgl/webgpu#8850
Nixxx19 wants to merge 1 commit into
processing:dev-2.0from
Nixxx19:strokeweight-transform-note

Conversation

@Nixxx19
Copy link
Copy Markdown
Member

@Nixxx19 Nixxx19 commented May 30, 2026

Resolves #8847

Changes:
adds a sentence to the strokeWeight() reference noting that in 2D mode stroke weight is affected by transformations (like scale()), but in WebGL and WebGPU modes it isn't, since the stroke is applied on top of the already-transformed geometry. this documents the difference as suggested in the issue, while the longer-term line-handling work gets figured out.

Screenshots of the change:
n/a, reference text only.

PR Checklist

@p5-bot
Copy link
Copy Markdown

p5-bot Bot commented May 30, 2026

Continuous Release

CDN link

Published Packages

Commit hash: 7c7b8d6

Previous deployments

This is an automated message.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants