diff --git a/particles.lua b/particles.lua index 292f3d4..988755e 100644 --- a/particles.lua +++ b/particles.lua @@ -4,7 +4,7 @@ EXPONENT=1.3 W_EXPONENT=1.8 OVERDRIVE=1 FADE_FACTOR = 0.94 -AVG_LEDS_ACTIVATED = 0.03 +AVG_LEDS_ACTIVATED = 0.05 num_modules = 1 num_strips = 1 @@ -51,7 +51,7 @@ function distributeEnergy(newEnergy, energyArray) remainingEnergy = AVG_LEDS_ACTIVATED * newEnergy * num_modules * num_strips while remainingEnergy > 0 do - rndEnergy = math.random() * newEnergy * 2 + rndEnergy = math.random() * newEnergy * 5 rndStrip = math.floor(math.random() * num_strips) rndModule = math.floor(math.random() * num_modules)