sparkler: minor tuning

This commit is contained in:
Thomas Kolb 2020-06-14 14:41:50 +00:00
parent 436b816d1e
commit 7ad270ca08

View file

@ -1,7 +1,7 @@
COOLDOWN_FACTOR = 0.9998 COOLDOWN_FACTOR = 0.9998
MAX_ENERGY_PROPAGATION = 0.3 MAX_ENERGY_PROPAGATION = 0.3
RM_ENERGY=0.0200 RM_ENERGY=0.0200
EXPONENT=1.5 EXPONENT=1.0
W_EXPONENT=2.2 W_EXPONENT=2.2
OVERDRIVE=1.5 OVERDRIVE=1.5
@ -37,7 +37,7 @@ function limit(val)
end end
function updateFire(newEnergy, energyArray) function updateFire(newEnergy, energyArray)
avgEnergyPerStrip = newEnergy avgEnergyPerStrip = newEnergy * 0.7
for s = 1,num_strips do for s = 1,num_strips do
-- Add new energy in the center rows -- Add new energy in the center rows