Skip to content

Commit b6a79a6

Browse files
author
Jack Stahl
committed
Change colors on Breathe
1 parent 7e052ab commit b6a79a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: JackStahl.pde

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Breathe extends SCPattern {
152152
float v1 = sin_x > y_in_range ? (100 + 100*(y_in_range - sin_x)) : 0;
153153

154154
float hue_color = (lx.getBaseHuef() + hueScale.getValuef() * (abs(p.x-model.xMax/2.)*.6 + abs(p.y-model.yMax/2)*.9 + abs(p.z - model.zMax/2.))) % 360;
155-
color c = color(hue_color, 40, v1);
155+
color c = color(hue_color, 60, v1);
156156

157157
// Now draw the spheres
158158
for (Sphere s : spheres) {
@@ -175,7 +175,7 @@ class Breathe extends SCPattern {
175175

176176
float value = min(beat_value, distance_value);
177177

178-
c = blendColor(c, color((hue_color + 90) % 360, 100, min(1, value) * 100), ADD);
178+
c = blendColor(c, color((hue_color + 180) % 360, 100, min(1, value) * 100), ADD);
179179
}
180180
colors[p.index] = c;
181181
}

0 commit comments

Comments
 (0)