export const sampleUniformY = (
    pts: ReadonlyVec[],
    y1: number,
    y2: number,
    step = 1,