0.2.1 • Published 3 years ago
@an0rak/ktau v0.2.1
K'Tau
A lightweight Javascript color manipulation library.
What is it ?
K'Tau (read it Ka-Ta-O) is a lightweight Javascript library to manipulate Color as a component. The purpose is to provide a structure with a maximum of usefull color manipulation appliable to it.
How to use it ?
Install it on your Javascript app with :
npm install @an0rak/ktau
Then you can use it with :
import { BLUE, Color } from "ktau";
const grey = new Color(0.75, 0.75, 0.75);
console.log(BLUE.asArray()); // [ 0.0, 0.0, 1.0, 1.0 ]
How to build it ?
Build the final lib
npm run build
Lint your modifications
npm run lint
Credits and License
This library was created by Sylvain Nieuwlandt and is released under the Apache-2.0 license, which you can find a complete copy here.