In one dimension, the relationship between the unconstrained positions x ~ ~ i ( t ) and the actual positions x i ( t ) of points i at time t , given a desired constraint distance of r , can be found with the algorithm