You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 21, 2018. It is now read-only.
"Instead of recording the actual color value, 1, 16, 4096, etc, you could store the color as exponent of 2.
2^X where X is from 0 to 15 would give you from white(1) to black(32768) and all the colors between.
To convert back from the color value to X, you could use math.log(color)/math.log(2)"