Skip to content

williammalo/hsluv-glsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HSLUV-GLSL

HSLUV is a human-friendly alternative to HSL. ( http://www.hsluv.org ) GLSL port by William Malo ( https://github.com/williammalo ) Put this code in your fragment shader.

api

  xyzToRgb (vec3 xyz   )
  rgbToXyz (vec3 rgb   )
  xyzToLuv (vec3 xyz   )
  luvToXyz (vec3 luv   )
  luvToLch (vec3 luv   )
  lchToLuv (vec3 lch   )
hsluvToLch (vec3 hsluv )
lchToHsluv (vec3 hsluv )
hpluvToLch (vec3 hpluv )
lchToHpluv (vec3 lch   )
  lchToRgb (vec3 lch   )
  rgbToLch (vec3 rgb   )
hsluvToRgb (vec3 hsluv )
rgbToHsluv (vec3 rgb   )
hpluvToRgb (vec3 hpluv )
rgbToHpluv (vec3 rgb   )
  luvToRgb (vec3 luv   )

  xyzToRgb (vec4 xyz   )
  rgbToXyz (vec4 rgb   )
  xyzToLuv (vec4 xyz   )
  luvToXyz (vec4 luv   )
  luvToLch (vec4 luv   )
  lchToLuv (vec4 lch   )
hsluvToLch (vec4 hsluv )
lchToHsluv (vec4 hsluv )
hpluvToLch (vec4 hpluv )
lchToHpluv (vec4 lch   )
  lchToRgb (vec4 lch   )
  rgbToLch (vec4 rgb   )
hsluvToRgb (vec4 hsluv )
rgbToHsluv (vec4 rgb   )
hpluvToRgb (vec4 hpluv )
rgbToHpluv (vec4 rgb   )
  luvToRgb (vec4 luv   )

  xyzToRgb (float x, float y, float z )
  rgbToXyz (float r, float g, float b )
  xyzToLuv (float x, float y, float z )
  luvToXyz (float l, float u, float v )
  luvToLch (float l, float u, float v )
  lchToLuv (float l, float c, float h )
hsluvToLch (float h, float s, float l )
lchToHsluv (float h, float s, float l )
hpluvToLch (float h, float s, float l )
lchToHpluv (float l, float c, float h )
  lchToRgb (float l, float c, float h )
  rgbToLch (float r, float g, float b )
hsluvToRgb (float h, float s, float l )
rgbToHsluv (float r, float g, float b )
hpluvToRgb (float h, float s, float l )
rgbToHpluv (float r, float g, float b )
  luvToRgb (float l, float u, float v )

  xyzToRgb (float x, float y, float z, float a )
  rgbToXyz (float r, float g, float b, float a )
  xyzToLuv (float x, float y, float z, float a )
  luvToXyz (float l, float u, float v, float a )
  luvToLch (float l, float u, float v, float a )
  lchToLuv (float l, float c, float h, float a )
hsluvToLch (float h, float s, float l, float a )
lchToHsluv (float h, float s, float l, float a )
hpluvToLch (float h, float s, float l, float a )
lchToHpluv (float l, float c, float h, float a )
  lchToRgb (float l, float c, float h, float a )
  rgbToLch (float r, float g, float b, float a )
hsluvToRgb (float h, float s, float l, float a )
rgbToHsluv (float r, float g, float b, float a )
hpluvToRgb (float h, float s, float l, float a )
rgbToHpluv (float r, float g, float b, float a )
  luvToRgb (float l, float u, float v, float a )

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages