[Cuis] Updated Cuis-NamedColors

Germán Arduino garduino at gmail.com
Tue Feb 5 05:05:28 CST 2013


Nice job Ken!

Colors bring life to almost anything!

2013/2/5 Ken Dickey <Ken.Dickey at whidbey.com>:
> Greetings all,
>
> I updated
>         https://github.com/KenDickey/Cuis-NamedColors
>
> which assumes change sets up to 1584.
>
> My proposed changes to Color to support named colors have been put into a change set (you will need to invoke 'Color initialize' after file-in -- see the README).
>
> The dictionaries are in separate packages.
>
> There are some color utilities.  You can find a named color closest to an arbitrary color (useful for CSS2/CSS3 web colors), get a dictionary of blue or saturated, or pink, et cetera colors.
>
> Here is a fun stress test for UpdatingStringMorph.
>
>
> UpdatingStringMorph new
>      target:
>         [(Display colorAt:
>          (self runningWorld activeHand morphPosition))
>           closestColorName asString];
>      getSelector: #value;
>      stepTime: 10;
>      openInWorld.
>
>
> Enjoy!
> -KenD
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org




More information about the Cuis mailing list