p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

feat(webgl): add global property support for p5.strands

Open avinxshKD opened this issue 2 months ago • 2 comments

Resolves #8171

Changes:

What was changed:

  • Modified src/strands/strands_api.js to automatically intercept 16 p5 global properties when strands is active
  • Properties are automatically converted to uniforms with callbacks to their live values
  • Implemented proper context restoration when strands becomes inactive

Screenshots of the change: N/A - This is an API enhancement without visual changes.

PR Checklist

avinxshKD avatar Oct 27 '25 19:10 avinxshKD

hey @davepagurek, kindly review this too when you get a chance

avinxshKD avatar Nov 10 '25 14:11 avinxshKD

Hey @davepagurek, made the necessary changes. Please review whenever you get a chance.

avinxshKD avatar Nov 24 '25 09:11 avinxshKD