particles.lua: fixed some comments

This commit is contained in:
Thomas Kolb 2020-06-23 21:32:43 +02:00
parent d7c5070bb9
commit 66f3e6fe06

View file

@ -16,7 +16,7 @@ maxGreenEnergy = 1
maxBlueEnergy = 1 maxBlueEnergy = 1
maxWhiteEnergy = 1 maxWhiteEnergy = 1
-- array storing the flames energy for each pixel -- array storing the energy for each pixel
fireRedEnergy = {} fireRedEnergy = {}
fireGreenEnergy = {} fireGreenEnergy = {}
fireBlueEnergy = {} fireBlueEnergy = {}
@ -104,8 +104,7 @@ function periodic()
distributeEnergy((blueEnergy / maxBlueEnergy)^EXPONENT, fireBlueEnergy) distributeEnergy((blueEnergy / maxBlueEnergy)^EXPONENT, fireBlueEnergy)
distributeEnergy((whiteEnergy / maxWhiteEnergy)^W_EXPONENT, fireWhiteEnergy) distributeEnergy((whiteEnergy / maxWhiteEnergy)^W_EXPONENT, fireWhiteEnergy)
-- make colors more exciting + remove the first (flickering) mass -- Color post-processing
-- TODO: update
for m = 1,num_modules do for m = 1,num_modules do
for s = 1,num_strips do for s = 1,num_strips do
i = idx(s, m) i = idx(s, m)