百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

workshop-generative-color

> 编程语言
开源

关于生成性艺术和创意编码的色彩科学研训班

100 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

关于生成性艺术和创意编码的色彩科学研训班

workshop-generative-color

Editing Online

You can see and edit the demos online in Glitch if you do not want to run it locally:

  • ✨ View on Glitch
  • Edit on Glitch

Running Locally

To run locally, you first need to clone and install the project with Node.js and npm, and it will need to be a newer version like node@16 or higher. You can download Node.js and npm here.

In terminal, run the following from your desired root folder:

bash
git clone https://github.com/mattdesl/workshop-generative-color.git

cd workshop-generative-color

npm install

Then, start the dev server:

bash
npm run start

Open http://localhost:9966/ and start changing exercises in the sketches/ folder.

Code & Software

  • colorjs.io
  • spectral.js
  • mixbox

Tools

  • color grab — pick colors from an image
  • color swatch — a color picker tool across multiple spaces
  • color-spd — make colors from spectral color distributions

Color Pickers

  • Google HSV Color Picker
  • OKLCH and LCH Color Picker
  • OKHSV and OKHSL Color Picker (related blog post)
  • HSLuv

Related Links

  • 147 Named CSS Colors
  • Hue Color Models
  • Sorted CSS Colors
  • Color Systems
  • "It's Time to Learn oklch Color" by Keith J. Grant

Color Libraries

  • nice-color-palettes
  • chromotome
  • paper-colors
  • riso-colors
  • dictionary-of-colour-combinations
  • color-names

Color Spaces

  • Oklab by Björn Ottosson

License

All code that I have written here is licensed as MIT. Some additional notes:

  • The ColorChecker data in lib/spectra/ is from here, 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 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
  • 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 and is MIT licensed

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言