Description
Increasing access
This enhancement is part of the effort to integrate p5.strands more integrated into the core library (see parent issue #7849)
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
A noise implementation in p5.strands would allow for a lot of interesting effects using p5.strands, for animating objects and rendering materials. This could be a GLSL implementation of simplex noise, or another algorithm.
In order to get this working, something similar to getTexture
could be a good approach. That function is defined here in strands and also here in GLSL. This would mean making a new function call node in strands, and writing the GLSL function somewhere to be included in shaders. I would be inclined to make this a new GLSL file, since we might add more functions to it in the future.
The implementation can be different than the core library version of noise, with potential to add a noiseMode(GPU || CPU)
in the future.
Metadata
Metadata
Assignees
Type
Projects
Status