Updated Cuis-NamedColors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Updated Cuis-NamedColors

KenDickey
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
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD
Reply | Threaded
Open this post in threaded view
|

Re: Updated Cuis-NamedColors

garduino
Nice job Ken!

Colors bring life to almost anything!

2013/2/5 Ken Dickey <[hidden email]>:

> 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
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org