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

[p5.strands] Document `shared*` methods

Open davepagurek opened this issue 10 months ago • 7 comments

Increasing access

These are used in other examples to pass data between hooks, but they do not yet have their own reference pages.

Most appropriate sub-area of p5.js?

  • [ ] Accessibility
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Image
  • [ ] IO
  • [ ] Math
  • [ ] Typography
  • [ ] Utilities
  • [x] WebGL
  • [ ] Build process
  • [ ] Unit testing
  • [ ] Internationalization
  • [ ] Friendly errors
  • [ ] Other (specify if possible)

Feature enhancement details

These should live in a new p5.strands section of the reference and contain parameters and usage examples.

davepagurek avatar Jan 24 '26 18:01 davepagurek

Hi! @davepagurek

I understand that these helpers are already used in examples to pass data between hooks, but they don’t currently have their own reference pages.

I can work on this by adding reference entries for them under a new p5.strands section, including parameter descriptions and clear usage examples based on existing code.

If that sounds good, could you please assign this issue to me?

Ayaan005-sudo avatar Jan 27 '26 15:01 Ayaan005-sudo

@davepagurek @ksen0 could you please assign.

Piyushrathoree avatar Feb 02 '26 18:02 Piyushrathoree

@davepagurek could you please assign this to me? Thanks !

Anshumancanrock avatar Feb 10 '26 16:02 Anshumancanrock

@davepagurek please review the pr when you have time https://github.com/processing/p5.js/pull/8880

BHARATH0153 avatar Jun 07 '26 16:06 BHARATH0153

Sorry for the delay, @Ayaan005-sudo , are you still interested in working on this? Can we assign this to you?

perminder-17 avatar Jun 08 '26 21:06 perminder-17

(And if @Ayaan005-sudo doesn't claim it by end of June 15th, so in 1 week, it's yours @Piyushrathoree if you want it)

ksen0 avatar Jun 09 '26 08:06 ksen0

@ksen0 please assign this to me

BHARATH0153 avatar Jun 15 '26 11:06 BHARATH0153