Skip to content

hideyukisaito/ofxKuler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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:

	- Clone this add-on into [your_openframeworks_path]/addons/ofxKuler
	- Add files in src/ to your project
	- Add ofxXmlSettings addon from
	[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.

About

An Openframeworks addon for working with Adobe Kuler Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages