diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-06 23:05:44 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-06 23:05:44 +0100 |
commit | 541f7a16cac905749ac24836ddf4df99b8405d94 (patch) | |
tree | 15f81285677ee88301055d1a448998973fbb369f | |
parent | e8a9075a22c220291bbda33adc8c03289009d585 (diff) |
img
-rw-r--r-- | img/better_disp.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua index f40aed2..0c94be0 100644 --- a/img/better_disp.lua +++ b/img/better_disp.lua @@ -54,7 +54,9 @@ local function adjust_to_2_colors(R,gromlings,pdists) -- return the list of cidxs local gromling_colors = {} for i,c in ipairs(gromlings) do - gromling_colors[i] = disp_common.closest_palette_color(R,c) + local cx = disp_common.closest_palette_color(R,c) + print("boo",i,c,cx) + gromling_colors[i] = cx end local all_current_colors = {} |