Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 477: Line 477:
}
}
)]);
)]);
-
alert();
 
var newcolor = colorRamp(thisfacecolor, cool_color_ramp);
var newcolor = colorRamp(thisfacecolor, cool_color_ramp);
materials[i][0].color.setRGB(newcolor[0], newcolor[1], newcolor[2]);
materials[i][0].color.setRGB(newcolor[0], newcolor[1], newcolor[2]);

Revision as of 02:25, 26 September 2011