Skip to content

[p5.strands] Increasing strands' presence in the reference #7898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 17 tasks
lukeplowden opened this issue Jun 10, 2025 · 2 comments
Open
2 of 17 tasks

[p5.strands] Increasing strands' presence in the reference #7898

lukeplowden opened this issue Jun 10, 2025 · 2 comments

Comments

@lukeplowden
Copy link
Member

Increasing access

p5.strands is currently undocumented, with only tutorials as learning resources

Most appropriate sub-area of p5.js?

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

Feature enhancement details

p5.strands requires more thorough documentation so that it's more discoverable and understandable. The idea is to add p5.strands examples to the reference in places which currently have GLSL examples (keeping them side by side to show both work).

For example:

Additional examples could be added to any WebGL functions, including primitive shapes like box.

@perminder-17
Copy link
Collaborator

Hi @lukeplowden, first off, hats-off for the brilliant work on p5.strands! I have a small (very silly) question.
The filter() function in p5.js typically relies on its own built-in GLSL shaders. When you mention adding examples for p5.strands under filter(), do you mean writing a custom shader that leverages strands internally and showcasing that, and then using filter() function in the whole sketch created? I’m not quite sure how best to place strands examples inside the filter() reference?

In short, are you thinking creating sketches using p5.Strands and then using filter()?

@davepagurek
Copy link
Contributor

In short, are you thinking creating sketches using p5.Strands and then using filter()?

I think so, to give users another potential way to discover strands (through looking up filter) in the examples.

There's a potential separate task we could do in the future where we replace the internal filter implementations with p5.strands versions, but I'll save that for a different issue 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Work
Development

No branches or pull requests

4 participants