particles.lua: fixed some comments
This commit is contained in:
parent
d7c5070bb9
commit
66f3e6fe06
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue