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

[orx-palette/orx-panel] I can select a palette via panel #94

Open
ricardomatias opened this issue May 13, 2020 · 2 comments
Open

[orx-palette/orx-panel] I can select a palette via panel #94

ricardomatias opened this issue May 13, 2020 · 2 comments

Comments

@ricardomatias
Copy link
Member

Add a gui element which allows selecting a palette from orx-palette

@hamoid
Copy link
Member

hamoid commented May 24, 2020

Maybe the palettes could be rendered as an image, 5 pixels wide (for 5 colors per palette).
Then drawn much larger (for easier interaction) and without any interpolation (so it looks pixelated).

Would it make sense to store the palettes as images of 100x5 pixels? Then they could be used even inside a shader. And one could zoom into such image to allow selecting one palette. Just an idea.

@ricardomatias
Copy link
Member Author

I like both ideas, the palette could provide a diplay() method which displays the 5 pixels wide image and a load method for the collection of palettes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants