Skip to content

Add bloom filter example using p5.strands under filter() reference #7983

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: dev-2.0
Choose a base branch
from

Conversation

LalitNarayanYadav
Copy link
Contributor

@LalitNarayanYadav LalitNarayanYadav commented Jul 25, 2025

This PR adds a minimal example of applying a bloom effect using p5.strands inside filter(), as discussed in #7898. The code is added right after the p5.Shader.prototype.modify line in ShaderGenerator.js, keeping it grouped with other strands reference materials.

PR Checklist

Copy link
Collaborator

@perminder-17 perminder-17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see you’re updating the reference. A few tips: you’ve added a JS sketch in shaderGenerator.js, but you also need to include the YUI docs as described on the “Contributing to the p5.js reference” page on the beta site. Here: https://beta.p5js.org/contribute/contributing_to_the_p5js_reference/

To preview how your changes look on the website, follow the “Testing the docs of your fork” instructions in the scripts.md in the p5.js-website repo. https://github.com/processing/p5.js-website/blob/main/docs/scripts.md#testing-the-docs-of-your-fork

Let me know if I can help in anything if something finds difficult for you. Thanks for your great work so far on p5.Strands, really appreciated.

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.

2 participants