sliding_r scales from 0 to 1.