Minimum-safe sampling threshold shared by config parsing and rendering.
static int normalizeThreshold(int threshold) => threshold < minimumThreshold ? minimumThreshold : threshold;