Skip to content

Commit

Permalink
updated lights for StochSeq
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymuller committed Apr 8, 2021
1 parent 2bd65c3 commit 69f1ff2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/StochSeq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ struct StochSeqWidget : ModuleWidget {
float y = ((-std::sin(2.0 * M_PI * i / NUM_OF_LIGHTS) * 0.5 + 0.5) * 50 + 15);
// float x = random::uniform() * 260 + 1;
// float y = random::uniform() * 50 + 15;
int light = int(random::uniform() * 4);
// int light = int(random::uniform() * 4);
int light = int(i / (NUM_OF_LIGHTS / 4.0));
switch(light) {
case 0:
addChild(createLight<SmallLight<JeremyPurpleLight>>(Vec(x, y), module, StochSeq::LIGHTS + i));
Expand Down

0 comments on commit 69f1ff2

Please sign in to comment.