健康
The Creator Manually Labeled RGB Colors, Ran Principal Component Analysis, and Derived Equations Mapping a Sphere Onto the Transformed Data

A developer has released an open-source color space and algorithm designed to generate diverse skin tones for digital art and character creators. The project, posted on Hacker News, includes a JavaScript color picker and a Python procedural generation sample. The creator manually labeled RGB colors, ran principal component analysis, and derived equations mapping a sphere onto the transformed data.
The work acknowledges limitations: skin tones vary by body area, lighting, and health conditions, and the results are simplified approximations, not authoritative. The goal is to offer a middle ground between limited preset palettes and millions of raw RGB options. several million.
来源: Hacker News