diff --git a/src/open.js b/src/open.js index 5b2e694..e40d95d 100644 --- a/src/open.js +++ b/src/open.js @@ -265,9 +265,9 @@ function animate() { if (animation.steps === 0) { animation.steps = Math.floor(Math.random() * 60) + 30; - animation.x[0] = 4 * Math.random() * Math.PI; - animation.y[0] = 4 * Math.random() * Math.PI; - animation.z[0] = 4 * Math.random() * Math.PI; + animation.x[0] = (4 * Math.random() - 2) * Math.PI; + animation.y[0] = (4 * Math.random() - 2) * Math.PI; + animation.z[0] = (4 * Math.random() - 2) * Math.PI; } animation.steps--;