🎨 3 levels :3
This commit is contained in:
parent
5fa2940592
commit
35b1037224
@ -10,10 +10,11 @@ Displays my name.
|
|||||||
|
|
||||||
Upper button changes visibility level, lower button changes display style.
|
Upper button changes visibility level, lower button changes display style.
|
||||||
|
|
||||||
|Style|Description|Visibility 0|Visibility 1|Visibility 1|
|
|Style|Description|Visibility 0|Visibility 1|Visibility 2|
|
||||||
|--|--|--|--|--|
|
|--|--|--|--|--|
|
||||||
|Rain|Matrix-style digital rain|No highlights|Overlay is highlighted|Highlights do not fade|
|
|Rain|Matrix-style digital rain|No highlights|Overlay is highlighted|Highlights do not fade|
|
||||||
|38C3|38C3 themed font and background|Show only "38C3"|Show only "Panki"|Rotating text with name and DECT extension|
|
|38C3|38C3 themed font and background|Show only "38C3"|Show only "Panki"|Rotating text with name and DECT extension|
|
||||||
|
|Supercomputer|Inspired by a [BigClive video](https://www.youtube.com/watch?v=7f8jgvvJe-Q)|Red only|Rainbow, inverted name|Rainbow name, no background|
|
||||||
|
|
||||||
### gifplayer
|
### gifplayer
|
||||||
|
|
||||||
|
@ -43,6 +43,8 @@ void draw_supercomputer(MatrixPanel_I2S_DMA *matrix, Mode mode) {
|
|||||||
uint8_t hue = ((int)round(progress) + rainbow_offset);
|
uint8_t hue = ((int)round(progress) + rainbow_offset);
|
||||||
if (overlay[i / 8] & (1 << (7 - (i % 8)))) {
|
if (overlay[i / 8] & (1 << (7 - (i % 8)))) {
|
||||||
hue -= 128;
|
hue -= 128;
|
||||||
|
} else if (mode == HighVis) {
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
CHSV hsv_color(hue, 255, 255 * cell_value(cells[i]));
|
CHSV hsv_color(hue, 255, 255 * cell_value(cells[i]));
|
||||||
CRGB rgb;
|
CRGB rgb;
|
||||||
@ -50,7 +52,5 @@ void draw_supercomputer(MatrixPanel_I2S_DMA *matrix, Mode mode) {
|
|||||||
matrix->drawPixel(x, y, matrix->color565(rgb.r, rgb.g, rgb.b));
|
matrix->drawPixel(x, y, matrix->color565(rgb.r, rgb.g, rgb.b));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mode == HighVis) {
|
|
||||||
rainbow_offset++;
|
rainbow_offset++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user