Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 90: | Line 90: | ||
highval = 1; | highval = 1; | ||
} | } | ||
- | + | ||
lowcolor = RGB2HSL(colormap[lowval][0], colormap[lowval][1], colormap[lowval][2]); | lowcolor = RGB2HSL(colormap[lowval][0], colormap[lowval][1], colormap[lowval][2]); | ||
highcolor = RGB2HSL(colormap[highval][0], colormap[highval][1], colormap[highval][2]); | highcolor = RGB2HSL(colormap[highval][0], colormap[highval][1], colormap[highval][2]); | ||
Line 98: | Line 98: | ||
//s = lowcolor.s; | //s = lowcolor.s; | ||
//v = lowcolor.l; | //v = lowcolor.l; | ||
- | + | ||
newcolor = HSL2RGB(h,s,v); | newcolor = HSL2RGB(h,s,v); | ||
Revision as of 04:10, 25 September 2011