 			cycleSettingsMode();
 			break;
 		case ClickEncoder::DoubleClicked:
+			flipFlop(useColorSensor);
 			encoder->setAccelerationEnabled(!encoder->getAccelerationEnabled());
 			break;
 		case ClickEncoder::Released:

	animationSelectMode();
}
void loop() {
	currentEncoderValue += encoder->getValue();

	ClickEncoder::Button b = encoder->getButton();

	previousEncoderValue = 0;

	//Start the color sensor. We dont care if it isn't working correctly.
	colorSensor.begin();
//	colorSensor.setInterrupt(true);

	//thanks PhilB for this gamma table! it helps convert RGB colors to what humans see
	for (uint16_t i = 0; i < 256; i++) {
		float x = i;
		x /= 255;
