Template:Team:UC Davis/MutantWidget
From 2011.igem.org
(Difference between revisions)
Line 96: | Line 96: | ||
// var v = lowcolor.l*(highval - newval) + highcolor.l*(newval - lowval); | // var v = lowcolor.l*(highval - newval) + highcolor.l*(newval - lowval); | ||
s = lowcolor.s; | s = lowcolor.s; | ||
- | v = lowcolor. | + | v = lowcolor.l; |
newcolor = HSL2RGB(h,s,v); | newcolor = HSL2RGB(h,s,v); | ||
/* | /* |
Revision as of 03:59, 25 September 2011