Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 380: Line 380:
}
}
);
);
-
axisdimensions = [0, 5, 0, 2, 0, 1];
+
axisdimensions = [0, 5, 0, 0.0140, 0, 1];
var numxpoints = 30;
var numxpoints = 30;
var numypoints = 30;
var numypoints = 30;
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:24, 26 September 2011