Open mlange-42 opened 1 year ago
make sense.
this is ReBu pallet. Red=0 -> Blue=1.
If we want Blue=0 -> Red=1, then need to create new pallet BuRe
in render/palletes/BuRe.csv
and expose it in render/colorful_palette.go and CLI helper message in cmd/main.go
Sure, it is clear how to add palettes. Have a standard HSV palette locally (will PR it). I guess the palette lookup code could be simplified, but I am not familiar with Go's embedding yet. At least a map could help to have everything in one place.
My intent to open this issue was not about customization, but that I felt that the default is counterintuitive.
If you prefer to not consider this, good as well!
Currently, the default heat coloring ranges from red to blue for low to high heat values.
Given the term "heat", I would expect the opposite.
Here is an example from dirstat, which uses
log(#files)
for coloring: