Skip to content
CHRM-MIDMidnight Editorial
AtmosphereSartorial Silence
Accent
Radius
Shadow
Surface
LexiconLab
001

lib · drapery

The Drapery

Drapes a material from authored optical coefficients — scatter depth, micro-facet roughness, specular anisotropy, metalness, refractive index — over a closed-form height field. No simulation, so the cloth is a pure function of its parameters and can be permalinked, rendered by a worker, and reproduced exactly. Iridescent coatings use genuine two-beam interference.

Install

Source

  • lib/render/drapery.ts

Registry item: /r/drapery.json

WorkbenchTune this instrument in the Laboratory →