Updated NeoHueBlend objects (markdown)

Michael Miller
2016-03-28 14:45:23 -07:00
parent 4e97aef64d
commit 5512e389d7

@@ -1,7 +1,8 @@
These "method" objects are used to define how the blend functions on HslColor and HsbColor are done. Due to the circular nature of Hue value for these objects, the blend can happen multiple ways.
[Wikipedia Entry on HSL and HSV](https://en.wikipedia.org/wiki/HSL_and_HSV)
For this library, the Hue value is 0.0 to 1.0 instead of 0.0 to 360.0. Further, clockwise is considered within the context of a clock, where numbers increase when going clockwise, so does the Hue value increase when going clockwise.
For this library, the Hue value is 0.0 to 1.0 instead of 0.0 to 360.0. Further, clockwise is considered within the context of a clock, where numbers increase when going clockwise, so does the Hue value increase when going clockwise.
Hue is interesting in that Red is represented as both 0.0 and 1.0 and this value difference can be important in getting the results you want.
### NeoHueBlendShortestDistance
This method object will blend the hue along the shortest distance around the wheel between the two colors.
@@ -14,7 +15,7 @@ So blending from green (0.66) to blue (0.33) will blend clockwise through red (0
### NeoHueBlendClockwiseDirection
This method object will blend the hue clockwise around the wheel from the left color to the right color.
This is handy to use to create a full color blend effect. If you blend from Red (0.0) to near Red (0.9999) it will give you almost every color in wheel.
This is handy to use to create a full color blend effect. If you blend from Red (0.0) to Red (1.0) it will give you every color in the wheel.
### NeoHueBlendCounterClockwiseDirection
This method object will blend the hue counter-clockwise around the wheel from the left color to the right color.