We want an actions workflow that runs the unit tests and reports a pass or fail. These tests must pass successfully as a requirement of a valid pull request.
After specifying how many colors will be in a PaletteColorSelector, you should be able to specify if you want those colors taken from the palette randomly or in order.
When we set WEBGL for the p5 canvas renderer, the origin of the canvas moves to the center. The values returned by mouseX and mouseY are not updated to reflect this change, so the values end up being larger than what is valid on the canvas.
We need a class that will handle any translations that need to happen when using the WEBGL renderer in a 2D context, as we usually do.
Tasks
Create Basic Context Class
Ability to Set Renderer Mode
Get mouseX and mouseY properly depending on mode
Get center of canvas coordinates
(0, 0) when using WEBGL renderer
(width / 2.0, height / 2.0) with default renderer
Map from (0, width) to (-width / 2.0, width / 2.0) when using WEBGL renderer
Map from (0, height) to (-height / 2.0, height / 2.0) when using WEBGL renderer
I would like to implement color scheme probabilities so that the closer you are to certain holidays, the more likely you are to generate a color scheme with a collection matching that holiday.
We want a way to indicate for certain color selectors that you can map a range of values to a color in the selector. This can be applicable to palettes (e.g. gradient palettes) or HSL selectors (e.g. mapping to a hue value).
Tasks
Create MappableColorSelector Interface
PaletteColorSelector should implement the interface
add a flag in PaletteColorSelector (isMapLerpActive)
when flag is true, map will lerp between colors in the indexes
when flag is false, map will choose integer index for color