anthrolume

Experiments in wearable electronic art.

Last minute addition: color sets

Leave a comment

Color Table Manager

Color sets from Kuler

Right before I stuffed anthrolume into the box to send it down to Berkeley, I added this feature that allows me to use sets of related colors instead of random colors for animations. While I managed to hack the facility into the software before I shipped it, I needed to create a bunch of these color sets. So during my little southern California vacation, I’ve been getting those together.

Kuler

I wrote a little program in C#/WPF that can obtain artist-created color sets from Adobe’s awesome Kuler site. My program obtains the top-rated 1000 color sets, then keeps the sets that meet certain emipirical minimum luminance requirements. Then the program generates the static data that gets compiled into the anthrolume suit computer.

// Generated by Color Table Manager on Friday, August 26, 2011 at 9:21 AM
// Total of 133 color tables.
kRefreshingMelon,		// Kuler Id: 1386725
kFossilVintage,		// Kuler Id: 1289526
kPhilosophy,		// Kuler Id: 1343581
...
// Generated by Color Table Manager on Friday, August 26, 2011 at 9:21 AM
// Total of 133 color tables.
FLASH_TABLE(bytegRefreshingMelon, 3,		// Kuler Id: 1386725
{ 247, 228, 162 },		// #f7e4a2
{ 167, 189, 91 },		// #a7bd5b
{ 220, 87, 78 },		// #dc574e
{ 141, 199, 184 },		// #8dc7b8
{ 237, 147, 85 });		// #ed9355
FLASH_TABLE(bytegFossilVintage, 3,		// Kuler Id: 1289526
{ 207, 202, 76 },		// #cfca4c
{ 252, 245, 191 },		// #fcf5bf
{ 159, 229, 194 },		// #9fe5c2
{ 94, 178, 153 },		// #5eb299
{ 116, 90, 51 });		// #745a33
FLASH_TABLE(bytegPhilosophy, 3,		// Kuler Id: 1343581
{ 229, 83, 34 },		// #e55322
{ 209, 149, 82 },		// #d19552
{ 184, 191, 115 },		// #b8bf73
{ 182, 219, 131 },		// #b6db83
{ 255, 249, 145 });		// #fff991
...
_FLASH_TABLE<byte>* ColorTables::_colorTables[ColorTables::kColorTableCount] =
{
  &gRefreshingMelon, &gFossilVintage, &gPhilosophy, ...
};

So now I’ve got a nice set of 133 color sets in there to spice up the animations. Will test all that when I get to Berkeley on Sunday. We leave for the Burn on Monday morning!

Advertisements

Author: anthrolume

I'm a Seattle musician and experimental electronic artist.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s