API: pigment
Function: derivePigments()
lifecycle-kit
lifecycle-kit / pigment / derivePigments
Function: derivePigments()
derivePigments(
composition,diet,inputs):PigmentConcentrations
Defined in: pigment/pigments.ts:74
Derive pigment concentrations from tissue composition, diet history and exposure.
Each concentration is a real biological driver, not a blend of everything: melanin never sees diet, carotenoid never sees genetics, and so on. That separation is what makes the two required assays possible — a diet change moves carotenoid and nothing else; a UV change moves melanin and nothing else.
