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

Wren RGBA needed functions #785

Open
2 tasks
p0nce opened this issue Aug 5, 2023 · 6 comments
Open
2 tasks

Wren RGBA needed functions #785

p0nce opened this issue Aug 5, 2023 · 6 comments
Labels
Enhancement This issue is about a new feature rather than a bug. Mental load Is related to API usability.

Comments

@p0nce
Copy link
Collaborator

p0nce commented Aug 5, 2023

  • Something to amplify a color (whiten only "lifts" the color) RGBA(r*t, g*t, b*t, a)
  • Something to saturate and desaturate a color
@p0nce
Copy link
Collaborator Author

p0nce commented Aug 5, 2023

See also AuburnSounds/gamut#20 for ideas, better use the CSS names than new news (with CSS having the best ideas)

@p0nce p0nce added Enhancement This issue is about a new feature rather than a bug. Mental load Is related to API usability. labels Aug 5, 2023
@p0nce
Copy link
Collaborator Author

p0nce commented Aug 10, 2023

@p0nce
Copy link
Collaborator Author

p0nce commented Aug 12, 2023

CSS Level 4 probably have all what we need and more. Started a new library...

@p0nce p0nce mentioned this issue Aug 18, 2023
9 tasks
@p0nce
Copy link
Collaborator Author

p0nce commented Aug 27, 2023

Surprisingly hard design space
image

@p0nce
Copy link
Collaborator Author

p0nce commented Aug 27, 2023

OpenGL largely leaves out colorspace to concentrate on a lot of data formats, such as all the compressed ones.
Meaning in Gamut, colorspace ought to be supplemental to PixelType probably.

@p0nce
Copy link
Collaborator Author

p0nce commented Oct 26, 2023

Before a larger Color API is done, would need just a few function in Wren, such as to amplify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This issue is about a new feature rather than a bug. Mental load Is related to API usability.
Projects
None yet
Development

No branches or pull requests

1 participant