Creates triangular perturbations such that points are evenly spaced along
the perturbation direction.