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
maxWhiteEnergy = 1
-- array storing the flames 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)