MS3FGX / Spectra

Simple tool for visualizing the output of random number generators (RNGs).
http://www.digifail.com/software/spectra.shtml
GNU General Public License v2.0
10 stars 3 forks source link

colorize hexdumps? #1

Open hackrid opened 8 years ago

hackrid commented 8 years ago

would it make sense to colorize hexdumps of arbitratry files? maybe with this encoding: e6b0 343b 9c74 0804 e7bc 0804 e7d5 0804 e7e4 0804 e6b0 0804 e7f0 0804 e7ff 0804 e80b 0804 e81a 0804 e6b0 0804 e6b0 0804

what color palette would make sense to map values 0-255 to some color?

MS3FGX commented 8 years ago

Color for non-ASCII files definitely would be good, though not sure how to approach mapping the colors off the top of my head. I'd have to give it some thought. User-defined pallets probably would also be a nice addition, now that I think about it...

hackrid commented 8 years ago

this might be a starting point to generate a color map: http://stackoverflow.com/questions/20792445/calculate-rgb-value-for-a-range-of-values-to-create-heat-map

a very nice talk regarding this topic: https://www.youtube.com/watch?v=xAoljeRJ3lU