Skip to content

Commit

Permalink
Fixed bug in fireworks. Normal and Bright levels were swapped.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobjoaquin committed Jan 13, 2016
1 parent a19a7d4 commit 3cd7210
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions processing/fireworksDemo/fireworksDemo.pde
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ void settings() {

void setup() {
vst = new Vst(this, createSerial());
vst.colorNormal = color(64, 255, 64);
vst.colorBright = color(vst.colorNormal, 80);
vst.colorBright = color(64, 255, 64);
vst.colorNormal = color(vst.colorNormal, 80);
//vst.displayTransit = true;
gravity = new PVector(0, 0.01);
fireworkManager = new FireworkManager();
fireworkManager.trigger(new PVector(random(width), random(height)), (int) random(100, 300));

frameRate(50);
blendMode(ADD);
strokeWeight(2);
//vst.displayTransit = true;
}

void draw() {
Expand Down

0 comments on commit 3cd7210

Please sign in to comment.