smoothing in example/laserServer3.js