Open ricardomatias opened 4 years ago
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.
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.
Add a gui element which allows selecting a palette from orx-palette