Skip to content

Commit 404824f

Browse files
committed
More randomized color
1 parent 0ee8319 commit 404824f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Applications/Sequencer/SequenceMeta.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ void SequenceMeta::New(uint8_t tracks)
2323

2424
this->tracks.clear();
2525
this->tracks.reserve(tracks);
26-
constexpr float hueStep = 1.0f / 16.0f;
27-
uint8_t hueIndex = MatrixOS::SYS::Millis() % 16;
26+
constexpr float hueStep = 1.0f / 64.0f;
27+
uint8_t hueIndex = MatrixOS::SYS::Micros() % 64;
2828
float hue = hueIndex * hueStep;
2929
color = Color::HsvToRgb(hue, 1.0f, 1.0f);
3030
clockOutput = false;

0 commit comments

Comments
 (0)