Hello,
Just created 'ochres', a color definer and palette composer using HSL (not HSV!).
This is my first trial at doing anything with Löve, which --indeed-- I just love. An opportunity to explore the framwork. Too bad it's not yet a game, but that will come...
I would thus really enjoy comments and (sensible) critics on:
* interface, usability, design
* code organisation, style
* use of Löve, idiomatic code
* ...
The .love pack is at https://bitbucket.org/denispir/lov/down ... chres.love.
There is a single actual Lua module, ochres.lua, plus a few utilities and main.lua.
User help integrated.
Thank you,
Denis
ochres: HSL palette composer
ochres: HSL palette composer
... la vita e estrany ...
Re: ochres: HSL palette composer
The link doesn't work for me, is the repo private?
EDIT: Works now!
EDIT: Works now!
Last edited by Santos on Sat Nov 03, 2012 9:35 pm, edited 1 time in total.
Re: ochres: HSL palette composer
Oups! Just created it and did not check that... should work now, would you check?Santos wrote:The link doesn't work for me, is the repo private?
Denis
... la vita e estrany ...
Re: ochres: HSL palette composer
Updated with a few fixes for minor bugs, created an online repository and a wiki page.
(The also wiki points to the .love package.)
Denis
(The also wiki points to the .love package.)
Denis
... la vita e estrany ...
Re: ochres: HSL palette composer
I like it. I would suggest adding in a few buttons that automatically add some recommended companion colors to the current color.
See http://colorschemedesigner.com/ for some examples.
See http://colorschemedesigner.com/ for some examples.
Re: ochres: HSL palette composer
Thank you.qaisjp wrote:Nice stuff... what about YUV ;D
Well, YUV seems interesting, but I don't what use we may have of it in ordinary software.
Denis
... la vita e estrany ...
Re: ochres: HSL palette composer
Thank you.Lap wrote:I like it. I would suggest adding in a few buttons that automatically add some recommended companion colors to the current color.
See http://colorschemedesigner.com/ for some examples.
Yes, this may be a nice add-on, but a bit complicated to set up for me as of now (especially without using a GUI lib, which I try to avoid).
However, once you have understood how HSL works, then it provides a kind of direct access to defining colors that fit well together. That's the whole point, compared to RGB (or worse, a "distorted" color space like HSV). For instance, the schemes recommended on the site you mention are just color nicely distributing on hue: they take the complementary color (oppsite hue) for a scheme of 2, two colors around this complement for a scheme of 3, finally these 2 complements plus another close to the original for a scheme of 4.
Denis
... la vita e estrany ...
Re: ochres: HSL palette composer
Uploaded new version, still at ochres.love.
Was for a bug: I first had scales computed every frame (for testing), with every grade converted hsl --> rgb; then forgot to let them store computed values in an array, and only recompute when the color is changed; now, they do!
Also changed vertical size of scales to 128 pixels, so that I don't need to compute grade values (eh, it's just y*2!)...
However, on my computer weak and old computer, it takes much CPU power (say, > 80%, and frame rate is about 37 FPS). Don't know if it's "normal". The program does not compute anything once load() is done, as long as the user does not change colors. Can someone tell me?
Denis
Was for a bug: I first had scales computed every frame (for testing), with every grade converted hsl --> rgb; then forgot to let them store computed values in an array, and only recompute when the color is changed; now, they do!
Also changed vertical size of scales to 128 pixels, so that I don't need to compute grade values (eh, it's just y*2!)...
However, on my computer weak and old computer, it takes much CPU power (say, > 80%, and frame rate is about 37 FPS). Don't know if it's "normal". The program does not compute anything once load() is done, as long as the user does not change colors. Can someone tell me?
Denis
... la vita e estrany ...
Re: ochres: HSL palette composer
Looks intresting.
One thing I would like to have was to just hold the left mouse button instead of click everytime to change the settings. ( slider ).
One thing I would like to have was to just hold the left mouse button instead of click everytime to change the settings. ( slider ).
Who is online
Users browsing this forum: No registered users and 0 guests