repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lots of code cleanup, removed Panda code, all grizzly, cleaning up mapping
[SugarCubes.git]
/
MarkSlee.pde
diff --git
a/MarkSlee.pde
b/MarkSlee.pde
index dcf35a551e3c9fe8066066897cce8eccacefdf19..7ccf8aaea9ae8b358a02d8f6c304548cc2f008a7 100644
(file)
--- a/
MarkSlee.pde
+++ b/
MarkSlee.pde
@@
-14,7
+14,7
@@
class Cathedrals extends SCPattern {
addParameter(sat);
}
addParameter(sat);
}
-
protected
void onActive() {
+ void onActive() {
if (eq == null) {
eq = new GraphicEQ(lx, 16);
eq.slope.setValue(0.7);
if (eq == null) {
eq = new GraphicEQ(lx, 16);
eq.slope.setValue(0.7);
@@
-684,10
+684,11
@@
class Swarm extends SCPattern {
colors[p.index] = lx.hsb(
(lx.getBaseHuef() + 0.3 * abs(p.x - hOffX.getValuef())) % 360,
constrain(80 + 40 * fV, 0, 100),
colors[p.index] = lx.hsb(
(lx.getBaseHuef() + 0.3 * abs(p.x - hOffX.getValuef())) % 360,
constrain(80 + 40 * fV, 0, 100),
- constrain(100 - (30 - fV * falloff.getValuef()) * modDist(i + (s*63)%61, offset.getValuef() * strip.metrics.numPoints, strip.metrics.numPoints), 0, 100)
+ constrain(100 -
+ (30 - fV * falloff.getValuef()) * modDist(i + (s*63)%61, offset.getValuef() * strip.metrics.numPoints, strip.metrics.numPoints), 0, 100)
);
++i;
);
++i;
- }
+ }
++s;
}
}
++s;
}
}
@@
-808,7
+809,7
@@
class BassPod extends SCPattern {
addParameter(clr);
}
addParameter(clr);
}
-
protected
void onActive() {
+ void onActive() {
if (eq == null) {
eq = new GraphicEQ(lx, 16);
eq.range.setValue(0.4);
if (eq == null) {
eq = new GraphicEQ(lx, 16);
eq.range.setValue(0.4);
@@
-860,7
+861,7
@@
class CubeEQ extends SCPattern {
super(glucose);
}
super(glucose);
}
-
protected
void onActive() {
+ void onActive() {
if (eq == null) {
eq = new GraphicEQ(lx, 16);
addParameter(eq.level);
if (eq == null) {
eq = new GraphicEQ(lx, 16);
addParameter(eq.level);