Articles
Articles

Notes on color science, pixel formats, and LLM inference.

Technical notes from Polyverse's graphics and inference work: original research, reference values, and where standards and common practice quietly diverge.

Blue Noise Token Sampling

Sampling error is quantization error. How dithering research became a generative blue noise RNG, and what happens when llama.cpp token sampling stops drawing white noise.

// blue noise · LLM sampling · llama.cpp

Read article →

Integer Color Format Conversion Relations

Bit replication, truncation, and float conversion between integer color formats. Why uint8 and uint16 are canonical, and why rounding during truncation is incorrect.

// bit depth · RGB565 · RGB332

Read article →

Color Space Specification

Authoritative definitions and derived values for sRGB, CIELAB, OKLab, Y′CbCr, and related color spaces. What each standard actually defines, and what is merely derived.

// sRGB · CIELAB · OKLab

Read article →

The D65 Whitepoint

Precision, history, and derivation of the standard daylight illuminant. Temperature scales, the daylight locus, and which chromaticity values are authoritative for which purpose.

// D65 · CIE · illuminants

Read article →

Articles were written using AI assistance and fully verified against the relevant standards and sources.