colourutil update

This commit is contained in:
minjaesong
2018-02-16 10:49:13 +09:00
parent e565a9f173
commit dde69d2e7e
6 changed files with 22 additions and 9 deletions

View File

@@ -168,7 +168,7 @@ object WeatherMixer {
// interpolate R, G, B and A
val scale = (timeInSec % dataPointDistance).toFloat() / dataPointDistance // [0.0, 1.0]
val newCol = CIELabUtil.getGradient(scale, colourThis, colourNext)
val newCol = CIELuvUtil.getGradient(scale, colourThis, colourNext)
/* // very nice monitor code
// 65 -> 66 | 300 | 19623 | RGB8(255, 0, 255) -[41%]-> RGB8(193, 97, 23) | * `230`40`160`