Inspired by Palette-Maker. This is a tool to create dithered 32-colour gradients. Mainly for my own use with my 3D lighting system, but I figured maybe someone else will find this useful.
The interface currently technically allows you to use more than 16 different colors, but of course, PICO-8 can't actually render that. I could fix that, but the simplest fix is that you just don't do that :)
Exports the gradient steps (on a scale of 0-127) and colors into the clipboard as Lua tables, without braces, like this:
Of course, this doesn't work on the browser, so run locally. You can use my code to render the gradient, or write your own. dw817 has written an excellent tutorial on how to implement dithering.
How to use:
up and down: select gradient step
left and right: select color for current gradient step
x: copy gradient steps and colors to clipboard (does not work in browser version)
z: lock gradient step for further functions
up and down: move gradient step
z: unlock gradient step
x: go into add/delete mode
when in add/delete mode:
z: add step after current step
x: delete current step
[Please log in to post a comment]