docs(p5.strands): document smoothstep by jjnawaaz · Pull Request #8459 · processing/p5.js

Hi @jjnawaaz!
I like the simplification of the idea, but that first code example does not run for me. I am new to p5.strands but I don't think pixelInputs is available in baseColorShader.

(I only checked your first example.)

I would recommend always developing, testing, and saving all examples on the p5 web editor first, finally pasting them into the reference comment only once you're happy that they run without error. If you do need to make later modifications to the example code, I would absolutely make the change back in the p5 web editor, rather than directly in the comment-block of the .js source file, so that you can again ensure your example code runs. The back-and-forth process can be a little laborious, I would agree - that's all the more reason to get your examples as close to perfect as possible before integrating them into the comment block.

You can also include, in this conversation, links to your intended examples in the web editor while they're under discussion - that can make it a lot more convenient for you, and for reviewers, during early feedback.

Let me know if I can help!