Increase the probablity of the text being readable.
This commit is contained in:
@@ -265,9 +265,9 @@ function animate() {
|
|||||||
|
|
||||||
if (animation.steps === 0) {
|
if (animation.steps === 0) {
|
||||||
animation.steps = Math.floor(Math.random() * 60) + 30;
|
animation.steps = Math.floor(Math.random() * 60) + 30;
|
||||||
animation.x[0] = 4 * Math.random() * Math.PI;
|
animation.x[0] = (4 * Math.random() - 2) * Math.PI;
|
||||||
animation.y[0] = 4 * Math.random() * Math.PI;
|
animation.y[0] = (4 * Math.random() - 2) * Math.PI;
|
||||||
animation.z[0] = 4 * Math.random() * Math.PI;
|
animation.z[0] = (4 * Math.random() - 2) * Math.PI;
|
||||||
}
|
}
|
||||||
|
|
||||||
animation.steps--;
|
animation.steps--;
|
||||||
|
|||||||
Reference in New Issue
Block a user