Skip to content

[WIP] Docs: Add reference entries for p5.strands hooks (feedback wanted) #7920

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Abhayaj247
Copy link

This draft PR adds new JSDoc reference entries for a few p5.strands hooks, following the feedback in #7919.

  • The new doc comments use JavaScript-only examples and describe the callback signature as discussed.

  • I’ve included examples for :

  • getWorldInputs

  • combineColors

  • getPointSize

  • The doc comments are currently placed in a new file :

src/webgl/p5.strands.js

(Open to moving them if you prefer a different location.)

Could you please review the style, level of detail, and file location?

Once confirmed, I’ll update the rest of the hooks in the same format.

Thanks for your guidance!

Copy link

welcome bot commented Jun 18, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

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.

1 participant