Giter Site home page Giter Site logo

dragonfly-ai / bitfrost Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 239 KB

Scala.js library to manipulate and analyze colors and color spaces.

License: Apache License 2.0

Scala 100.00%
color color-science color-space color-spaces scala scala-js spectral-data cielab cieluv color-gamut

bitfrost's Introduction

Bitfröst

This Scala.js library cross compiles to JavaScript and JVM environments to bring support for color spaces and color science to both.

In addition to support for common color spaces: ARGB, NRGB, HSV, HSL, and CYMK, this library also provides convenient access to color spaces designed around human color perception research like L* a* b*, and L* u* v*.

bitfrost's People

Contributors

dragonfly-ai avatar

Watchers

 avatar  avatar  avatar

Forkers

s5bug

bitfrost's Issues

Gamut volumes for all color spaces, not just perceptual ones.

Bitfrost has the potential to make gamut visualization and related experiments more accessible than ever, but currently only for Lab*, Luv*, XYZ, and their subsets intersected with RGB.

Shouldn't it also provide viewable mesh volumes for RGB, HSL, HSV, and CMYK?

No support for Opacity/Transparency/Alpha in any color models except: ARGB32, RGBA32, ARGB64, and RGBA64

One might want to transform a translucent color in Lab* space, but not lose its transparency in the process.

We don't want to burden every color model with an added 8 byte transparency value, but we also want transparency values to seamlessly pass through all transformations if present.

How could bitfrost make transparency values optional in all color models without bloating memory requirements or decreasing end user convenience?

Bloated PLY files

Bitfrost writes duplicate vertices in PLY files generated from Gamut volumes. More specifically, every triangle gets its own copies of the vertices that it clearly shares with other triangles.

No support for standard, or user defined Spectral Sample data.

Bitfrost references sRGB and other standard color spaces, but computes color gamuts using its own interpretation of CIE 2006 color matching experimental results.

It ought to ship with standard color spectral samples like CIE 1931 and CIE 2006, and also allow users to supply their own.

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.