function counterScale(factor) {
  const a = Math.abs(factor);
  return (onRefs, onOffsets, offOffsets) => {
    const f = (x) => 
      Math.abs(x) < 0.25 ? x : Math.sign(x) * (Math.abs(x) ** (2-factor));
    const scaledOnRefs = onRefs.map(pt => 
      [ (f(pt[0]/500-1)+1)*500, pt[1] ]);
    return [ scaledOnRefs, onOffsets, offOffsets ];
  }
}
Scale the counter
@param { number } factor Counter scaling factor
@returns { Filter }