From 66f3e6fe06c0b4e44c705bde7eb8b0ff21634a08 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 23 Jun 2020 21:32:43 +0200 Subject: [PATCH] particles.lua: fixed some comments --- particles.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)