diff --git a/particles.lua b/particles.lua index a4b1075..b8f5b51 100644 --- a/particles.lua +++ b/particles.lua @@ -16,7 +16,7 @@ maxGreenEnergy = 1 maxBlueEnergy = 1 maxWhiteEnergy = 1 --- array storing the flameā€™s energy for each pixel +-- array storing the energy for each pixel fireRedEnergy = {} fireGreenEnergy = {} fireBlueEnergy = {} @@ -104,8 +104,7 @@ function periodic() distributeEnergy((blueEnergy / maxBlueEnergy)^EXPONENT, fireBlueEnergy) distributeEnergy((whiteEnergy / maxWhiteEnergy)^W_EXPONENT, fireWhiteEnergy) - -- make colors more exciting + remove the first (flickering) mass - -- TODO: update + -- Color post-processing for m = 1,num_modules do for s = 1,num_strips do i = idx(s, m)