Skip to content

Fix p5.strands assignment to property swizzles - #9082

Merged
davepagurek merged 3 commits into
mainfrom
fix/strands-assign-property-swizzle
Aug 15, 2026
Merged

Fix p5.strands assignment to property swizzles#9082
davepagurek merged 3 commits into
mainfrom
fix/strands-assign-property-swizzle

Conversation

@davepagurek

@davepagurek davepagurek commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Resolves #9080

Changes:

  • Our transpiler code wasn't quite handling an edge case where you assign to a deeply nested property like worldInputs.position.x -- it was just handling a single level. The fix is to continue a loop rather than fully break.

Previous broken sketch, working with the branch deploy of this PR: https://editor.p5js.org/davepagurek/sketches/AyrwEbMmv

PR Checklist

@p5-bot

p5-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

Continuous Release

CDN link

Published Packages

Commit hash: bd935a2

Previous deployments

This is an automated message.

@davepagurek
davepagurek merged commit b580b68 into main Aug 15, 2026
9 checks passed
@davepagurek
davepagurek deleted the fix/strands-assign-property-swizzle branch August 15, 2026 13:38
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.

[p5.js 2.0+ Bug Report]: WebGPU strands shader failing to produce working code

1 participant