Index of /code/art/colourspace

 NameLast modifiedSizeDescription

 Parent Directory   -  
 api.html 2023-07-23 12:21 32K 
 api.md 2023-04-20 08:25 26K 
 cmyk.xqy 2023-04-20 08:25 2.6K 
 cmyk.xsl 2023-02-24 08:49 3.1K 
 colour-space.xqy 2023-04-20 08:25 27K 
 colour-space.xsl 2023-02-24 08:49 32K 
 hsl.xqy 2023-04-20 08:25 2.8K 
 hsl.xsl 2023-02-24 08:49 4.3K 
 lab.xqy 2023-04-20 08:25 1.6K 
 lab.xsl 2023-02-24 08:49 2.7K 
 lch.xqy 2023-04-20 08:25 1.6K 
 lch.xsl 2023-02-24 08:49 2.8K 
 lighting.xqy 2023-04-20 08:25 2.3K 
 lighting.xsl 2023-02-24 08:49 3.2K 
 luv.xqy 2023-04-20 08:25 1.6K 
 luv.xsl 2023-02-24 08:49 2.7K 
 rgb.xqy 2023-04-20 08:25 56K 
 rgb.xsl 2023-02-24 08:49 66K 
 stop.xqy 2023-04-20 08:25 1.0K 
 stop.xsl 2023-02-24 08:49 2.3K 
 tonemap.xqy 2023-07-23 07:39 13K 
 tonemap.xsl 2023-07-23 07:39 16K 
 xyz.xqy 2023-04-20 08:25 4.5K 
 xyz.xsl 2023-02-24 08:49 6.2K 

Licensing

The code here is generally licensed as CC-BY (https://creativecommons.org/licenses/by/4.0/).

Attribution should be to Mary Holstege and include a link to the code base at http://mathling.com/code/

The colour space conversion code is a port of hsluv-c, used under the following MIT License:

The MIT License (MIT)

Copyright © 2015 Alexei Boronine (original idea, JavaScript implementation)
Copyright © 2015 Roger Tallada (Obj-C implementation)
Copyright © 2017 Martin Mitáš (C implementation, based on Obj-C implementation)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.