[Cuis] Updated Cuis-NamedColors
Ken Dickey
Ken.Dickey at whidbey.com
Mon Feb 4 22:25:53 CST 2013
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
More information about the Cuis
mailing list