Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - 2024-05-16 - MappableColorSelector Interface #76

Open
3 tasks
azurepolarbear opened this issue May 16, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@azurepolarbear
Copy link
Member

Description

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
@azurepolarbear azurepolarbear added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant