orx icon indicating copy to clipboard operation
orx copied to clipboard

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

Open ricardomatias opened this issue 5 years ago • 2 comments

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

ricardomatias avatar May 13 '20 09:05 ricardomatias

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.

hamoid avatar May 24 '20 13:05 hamoid

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.

ricardomatias avatar May 25 '20 07:05 ricardomatias