diff --git a/effects.h b/effects.h index 2db6041..e7ff168 100644 --- a/effects.h +++ b/effects.h @@ -184,9 +184,8 @@ class Sinematrix3 : public Effect { for ( int x = 0; x < LED_WIDTH; x++ ) { for ( int y = 0; y < LED_HEIGHT; y++ ) { Vector c = add(multiply( multiply(rotate, zoom), { .x1 = x - rcx, .x2 = y - rcy } ), translate); - //Vector c2 = add(multiply( multiply(zoom2, rotate2), { .x1 = x, .x2 = y } ), translate2); - setPixel(window, x, y, CHSV((basecol + basefield(c.x1, c.x2)) * 255, 255, 255)); - //leds[XYsafe(x,y)] = CHSV((basecol+basefield(c.x1, c.x2))*255, 255, 255); //31+(sines(c2.x1-10, c2.x2-10)*224)); + int sat = (basecol + basefield(c.x1, c.x2)) * 255; + setPixel(window, x, y, CHSV(sat, 120, 255)); } } }