249
248
//pick a rdm perturbation, and collect the perturbed piece into output.
251
250
pwperturb = compose(pwperturb,portion(piecelength,t0,t1));
252
252
output.concat(portion(piece,t0,t1)+pwperturb);
254
254
//step points: s0 = s1 - overlap.
255
255
//TODO: make sure this has to end?
256
256
s0 = s1 - strokeoverlap*(1-strokeoverlap_rdm)*(s1-s0);