← Back

ofxColorsBrowser

github.com/moebiussurfing/ofxColorsBrowser · @moebiussurfing
OF 0.11 Releases GUI Utilities

openFrameworks add-on to handle big color libraries including a +2000 colors Pantone, Crayola, Sanzo-Wada and other libraries.

3 0 Last commit 3y ago Created 7y ago

README

ofxColorsBrowser



Overview

An openFrameworks add-on to browse many named color libraries imported from JSON files.

Screenshots



ofxSurfingColors

image

Color Libraries

Pantone (+2000 colors). Sanzo Wada: A Dictionary of Color Combinations from @dblodorn. Crayola from @jjdelc. Cheprasov from @cheprasov. Open Color from @pd-andy. OF Native named colors.

Features

Updatable with other text files based libraries (JSON, XML, or other colors libs/addons). Cards with seteable amount of colors. Sort the library by Hue, Name or with the original sorting. GUI with clickable colored and named boxes. The interface can be completely disabled to simplify. But still exposing access to the colors. Key commands, browse with arrow keys and an ofxGui debug panel. Basic exposed parameters to integrate in other apps/add-ons. Store/Recall settings.

Usage

ofApp.h

``.cpp

include "ofxColorsBrowser.h"



ofxColorsBrowser colorBrowser; ofFloatColor colorBg;

ofApp.cpp

.cpp ofApp::setup() { colorBrowser.setupColorPtr(colorBg); // set local target color "receiver" colorBrowser.setup(); }

ofApp::draw() { ofBackground(colorBg); // auto updated when changes }

Dependencies

MarkNot required when
\interface is disabled
ImGui is disabled
some example only
Already bundled into
OF_ADDON/libs
``. No need to add to the PROJECT GENERATOR!

Tested systems

Author

Addon by @moebiusSurfing (ManuMolina). 2020.

_Thanks to @bakercp, @armadillu, @pd-andy and all the JSON packers linked above for their repositories._

License

MIT License.

Get this addon

HTTPS
SSH

Latest release

v2.0 published 5y ago