Give a minimum and maximum viewport width, and the size you want at each. This computes a CSS clamp() that scales linearly between them with a vw-based preferred value. All math runs locally in your browser.
The quick brown fox jumps over the lazy dog.
. This is unitless px per px.vw part: .. That is the fixed part.intercept + slope * viewport, written as .clamp() then holds the result between the min and max so it never goes below or above .