All Projects → hsluv → Hsluv

hsluv / Hsluv

Licence: mit
Human-friendly HSL, reference implementation

Programming Languages

haxe
709 projects

Projects that are alternatives of or similar to Hsluv

Aviaryan.github.com Retired 2018
My website (retired)
Stars: ✭ 10 (-98.96%)
Mutual labels:  website
Docslikecode
Read stories, learn through practice, share with others, to treat docs as code.
Stars: ✭ 28 (-97.08%)
Mutual labels:  website
Cl Ansi Text
Enables ANSI colors for printing.
Stars: ✭ 30 (-96.87%)
Mutual labels:  colors
Typographie
Web service for preparation of Russian texts for the web publication
Stars: ✭ 12 (-98.75%)
Mutual labels:  website
Next Pwa
Zero config PWA plugin for Next.js, with workbox 🧰
Stars: ✭ 909 (-5.21%)
Mutual labels:  website
Website
🌎 The Cake website: https://cakebuild.net
Stars: ✭ 28 (-97.08%)
Mutual labels:  website
Online Bling
Stars: ✭ 9 (-99.06%)
Mutual labels:  website
Savjee.be
Source code of my Jekyll-powered website
Stars: ✭ 31 (-96.77%)
Mutual labels:  website
Kandinsky
Проект Кандинский. Красивый сайт для НКО
Stars: ✭ 27 (-97.18%)
Mutual labels:  website
Freemo
A free resume,portfolio and CV HTML template
Stars: ✭ 30 (-96.87%)
Mutual labels:  website
Analytics
Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Stars: ✭ 9,469 (+887.38%)
Mutual labels:  website
Spimedb
EXPLORE & EDIT REALITY
Stars: ✭ 14 (-98.54%)
Mutual labels:  website
Base
Multilingual CMS built with Laravel.
Stars: ✭ 949 (-1.04%)
Mutual labels:  website
Auv Iitk.github.io
Solarized Theme Based Website
Stars: ✭ 11 (-98.85%)
Mutual labels:  website
Quick Free Bootstrap Theme
Free Bootstrap 4 Theme perfect for building responsive, mobile-first projects on the web suitable for businesses, startups, and agencies.
Stars: ✭ 31 (-96.77%)
Mutual labels:  website
Codeforsanjose.github.io
Code for San José website
Stars: ✭ 10 (-98.96%)
Mutual labels:  website
P2p
一个基于 python 的 flask 框架的资讯网站, http://119.29.100.53:8086/
Stars: ✭ 28 (-97.08%)
Mutual labels:  website
Cancer Donation Portal Python Flask App
Flask App for Cancer Donation Portal using basic Python, SQLite3, HTML, CSS and Javascript
Stars: ✭ 32 (-96.66%)
Mutual labels:  website
Readmarvel
ReadMarvel's open sourced code
Stars: ✭ 31 (-96.77%)
Mutual labels:  website
Traingenerator
🧙 A web app to generate template code for machine learning
Stars: ✭ 948 (-1.15%)
Mutual labels:  website

Build Status NPM package

HSLuv - Human-friendly HSL

Explanation, demo, ports etc.

The reference implementation is written in Haxe.

Build system

HSLuv uses Nix package manager. If you want to build without Nix, see default.nix for dependencies and command line instructions.

Linux, Windows 10 (WSL), macOS:

  • Install Nix
  • Use: ./run.sh <COMMAND> <TARGET>

A Docker wrapper is available for Windows 10 (native), or anyone who finds it more convenient:

  • Install Docker
  • Use: HSLUV_RUNTIME=docker ./run.sh <COMMAND> <TARGET>

The necessary mathematical equations are solved in Maxima. See /math directory for the equations and run the following to verify the solutions:

./run.sh build maximaOutput

To run full test suite:

./run.sh build test

To build JavaScript distributions (Node.js and browser):

./run.sh build nodePackageDist
./run.sh build browserDist

To build website:

./run.sh build website

To build website and start localhost server:

./run.sh run server

Testing

The snapshot file is stored for regression testing. If a backwards-incompatible change is made, a new snapshot file can be generated as follows:

./run.sh build snapshotJson

The format of the file is as follows:

{
  "#000000": {
    rgb: [ 0, 0, 0 ],
    xyz: [ 0, 0, 0 ],
    luv: [ 0, 0, 0 ],
    lch: [ 0, 0, 0 ],
    hsluv: [ 0, 0, 0 ],
    hpluv: [ 0, 0, 0 ]
  },
  ...
}

Deploying

For publishing packages and website you will need access to our shared credentials.

./run.sh run publishPypi
./run.sh run publishPypiTest # for publishing to https://test.pypi.org/
./run.sh run publishNpmJs
./run.sh run publishNpmSass
./run.sh run publishLua
./run.sh run publishWebsite
./run.sh run publishRuby
./run.sh run publishNuget
./scripts/publish-maven.sh

Versioning

Following semantic versioning, the major version must be incremented whenever the color math changes. These changes can be tested for with snapshot files.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].