Skip to content

Commit 1e9e67e

Browse files
improved aesthetics of plasma examples
1 parent 95a53a9 commit 1e9e67e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/plasma-10x10/plasma-10x10.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
const int COLOR_SCHEME = 1;
2626

2727
const float SPACE_STRETCH_FACTOR = 5.0;
28-
const float TIME_DILATION = 5.0;
28+
const float TIME_DILATION = 20.0;
2929

3030
RGBLEDMatrix leds(10,10);
3131

@@ -86,7 +86,7 @@ void setup() {
8686
unsigned long loopCounter = 0;
8787
unsigned long timeCount = 0;
8888

89-
const unsigned long loopMod = 2000;
89+
const unsigned long loopMod = 500;
9090

9191
void loop() {
9292
leds.loop();
@@ -98,3 +98,4 @@ void loop() {
9898
loopCounter = 0;
9999
}
100100
}
101+

examples/plasma-8x8/plasma-8x8.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
const int COLOR_SCHEME = 1;
2626

2727
const float SPACE_STRETCH_FACTOR = 4.0;
28-
const float TIME_DILATION = 5.0;
28+
const float TIME_DILATION = 20.0;
2929

3030
RGBLEDMatrix leds(8,8);
3131

@@ -86,7 +86,7 @@ void setup() {
8686
unsigned long loopCounter = 0;
8787
unsigned long timeCount = 0;
8888

89-
const unsigned long loopMod = 2000;
89+
const unsigned long loopMod = 500;
9090

9191
void loop() {
9292
leds.loop();

0 commit comments

Comments
 (0)