Skip to content

PauRosello97/ofxHLuv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxHLuv

HLuv is a perceptually uniform color space with a constant luminance.

Installation

Download this repository in your addons folder

$ cd ../addons/
$ git clone https://github.com/PauRosello97/ofxHLuv/

Usage

#include "ofxHLuv.h";

float hue = 30; // Hue from 0 to 360
float luminance = 60; // Luminance from 0 to 100
ofSetColor(HLuv.getColor(hue, luminance));
ofDrawRectangle(0, 0, ofGetWidth(), ofGetHeight());

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

HLuv is a perceptually uniform color space with a constant luminance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published