https://github.com/cdaein/ssam-thing-gencolor-workshop
https://github.com/cdaein/ssam-thing-gencolor-workshop
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cdaein/ssam-thing-gencolor-workshop
- Owner: cdaein
- License: mit
- Created: 2024-08-16T18:23:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-18T19:50:07.000Z (9 months ago)
- Last Synced: 2025-03-28T05:07:29.243Z (about 2 months ago)
- Language: TypeScript
- Size: 2.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssam-thing-gencolor-workshop
[The original code](https://github.com/mattdesl/workshop-generative-color) is ported to use [Ssam](https://github.com/cdaein/ssam) and [Thing Umbrella](https://github.com/thi-ng/umbrella) libraries as a learning exercise. Note: The code here is not 100% same as the original.

## How to run
1. Git clone this repo.
1. `cd` into the folder.
1. Install dependency: `npm i`
1. Run the dev server: `npm run dev`
1. Sketches are in `src/client/sketches`## License
This repo follows the same license from the original repo by Matt DesLauriers:
All code that I have written here is licensed as MIT. Some additional notes:
- The ColorChecker data in `lib/spectra/` is from [here](https://www.rit.edu/science/munsell-color-science-lab-educational-resources), which does not explicitly give a license
- The CIE 1931 2º Standard Observer Color Matching Functions and CIE Standard Illuminants in `lib/spectra` I believe are public domain. They are sourced from [here](https://github.com/geometrian/simple-spectral) and elsewhere. If somebody finds any specific license information please let me know.
- The precomputed CIE 1931 basis BT709 spectra data in `lib/spectra` is MIT under [this repository](https://github.com/geometrian/simple-spectral)
- The vendor scripts in `lib/vendor` are all pulled from MIT licensed packages.
- The oklab conversion math in `lib/oklab.js` is from Björn Ottosson's repo [here](https://github.com/bottosson/bottosson.github.io/blob/master/misc/colorpicker/colorconversion.js) and is MIT licensed