Start random color changes in random places.
This commit is contained in:
		@@ -84,12 +84,15 @@ void loop() {
 | 
			
		||||
		}
 | 
			
		||||
		FastLED.show();
 | 
			
		||||
 | 
			
		||||
		if (!looping) {
 | 
			
		||||
		/*if (!looping) {
 | 
			
		||||
			LOGln("corners.size(): %d", corners.size());
 | 
			
		||||
			uint16_t cid = random16(corners.size());
 | 
			
		||||
			LOGln("cid: %d", cid);
 | 
			
		||||
			Corner* start = corners[cid];
 | 
			
		||||
			start->blend_to(CHSV(random8(), 255, 255));
 | 
			
		||||
		}*/
 | 
			
		||||
		if (random8()==42) {
 | 
			
		||||
			corners[random16(corners.size())]->blend_to(CHSV(random8(), 255, 255));
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user