← Back

ofxKuler

github.com/hideyukisaito/ofxKuler · @hideyukisaito
OF 0.7 Graphics Web/Networking

An Openframeworks addon for working with Adobe Kuler Service

1 0 Last commit 14y ago Created 14y ago

README

ofxKuler

Description:

An OpenFrameworks addon to load/use Kuler color themes. All color theme requests are implemented. Currently only HSV and RGB color modes are supported. Currently only theme loading related service methods are implemented.

You will need to obtain API Key to use this service. Please check http://bit.ly/depJh0 for more details.

Setup:

[your_openframeworks_path]/addons/ to your project Usage:

Create an instance ofxKuler kuler;

Set API Key kuler.setAPIKey( "[your_api_key]" );

call one of the methods you want to, let sey you want to add 10 popular themes kuler.addListingPopulars( 10 );

Fetch loaded themes vector via getThemes()

Viola!

Note: Currently kuler class does not offer an event mechanism (soon i plan to add) but you are welcome to check getThemes() in your update loop.

You can call service methods at any time, if loader is busy, kuler class will add new requests into LIFO list (vector) to be processed later.

Get this addon

HTTPS
SSH