From f5e06688af6be893d4fa0efbb8a863ac1ad9aafd Mon Sep 17 00:00:00 2001 From: yoichi kobayashi Date: Tue, 4 Oct 2016 00:40:55 +0900 Subject: [PATCH] [edit] append usage and more to readme. --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72ed64f..2f84e07 100644 --- a/README.md +++ b/README.md @@ -1 +1,20 @@ -# glsl-convert-color \ No newline at end of file +# glsl-convert-color + +this is the function that convetts RGB to HSV. or is its opposite. + +## Quote source + +http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl + +## install + +``` +npm i git://github.com/ykob/glsl-convert-color.git +``` + +## usage + +``` +#pragma glslify: convertHsvToRgb = require(glsl-convert-color/convertHsvToRgb); +#pragma glslify: convertRgbToHsv = require(glsl-convert-color/convertRgbToHsv); +```