Closed
Description
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)
p5.js version
2.0 beta.6
Web browser and version
Chrome
Operating system
No response
Steps to reproduce this
Steps:
- Using RGB mode
- Use background to set color, provide a color that is out of bounds (larger than max
- Observe that the color renders white , rather than capping the out of bounds value at the max
This is inconsistent with previous behavior
Snippet:
https://editor.p5js.org/ksen0/sketches/_GydnNiLx
( Using code from tutorial https://beta.p5js.org/tutorials/organizing-code-with-functions/)