p5.strands

I created a DSL for writing shaders in p5.js, called p5.strands, which was initially released with p5.js 2.0. The API allows you to inject shader code into premade shaders.

My first tutorial for the project is available on the p5.js website. For the future, I’m a steward for this area of p5.js, so get in touch in the p5.js Discord if you want to contribute to p5.strands, and I’ll get back to you. I’d also love to hear from anybody who has used it in their projects.