Page 1 of 1

lospec palette to lua table

Posted: Sun Apr 11, 2021 2:24 am
by sgarciac
Hello, I wrote a little utility to generate a lua table from a lospec palette. I uploaded it as a web service, in case it might be useful for anyone:

Example:

http://api.gozque.com/lospec-to-lua/zughy-32

You can replace the palette ID at the end of the URL by any palette ID in lospec. Examples

http://api.gozque.com/lospec-to-lua/vocodes-62
http://api.gozque.com/lospec-to-lua/sup ... tte-vision
http://api.gozque.com/lospec-to-lua/lost-in-the-desert
...

etc
(Color names are obviously not necessarily always a perfect match, but it's nice to have them)

Re: lospec palette to lua table

Posted: Wed May 12, 2021 8:36 pm
by dusoft
Oh, cool! Very useful.