GithubHelp home page GithubHelp logo

quzah's Introduction

Quzah

Introduction

Quzah is a small Java library for generating RGB color sets for categorical data. The colors are picked such that the distance in perception is maximized.

FAQ

  • Can't I just randomly pick a set of colors from the RGB color space?

    Not really. If you randomly pick two colors that are close to eachother, it will be hard to distinguish two categories.

  • So, then I just pick a set of colors distributed as uniformly as possible over the RGB color space?

    That is certainly an improvement over picking colors at random. However, RGB is not a perceptually uniform color space. In other words, the Eucledian distance between two colors in RGB may not correspond to the distance in human perception.

  • Isn't it just easier and faster to use tables of visually distinct colors?

    It is! In fact, generating the optimal set of colors may be too slow for your application. For this reason, Quzah includes static tables for different color set sizes.

That said, you may want to generate your own color sets. For instance, if you want to pick colors from a subspace of the RGB color space. One example (also included in the library), is the generation of pastel-like colors.

Release plan

1.0.0

  • Make Quzah available in the central repository (blocking on the availability of commons-imaging).

quzah's People

Contributors

danieldk avatar

Stargazers

Alex Chen avatar etowner avatar Frederic Morel avatar Bilal Syed Hussain avatar David Merfield avatar Dobrosław Żybort avatar Chris Ruffalo avatar Bruno P. Kinoshita avatar

Watchers

 avatar  avatar

Forkers

okal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.