summaryrefslogtreecommitdiff
path: root/client/splash/cloud/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-28 17:57:38 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-28 17:57:38 +0100
commitc6da699f18426079435ad4664e7c715386ff82c0 (patch)
treecea63afb3c4e8e56fc2cc8f773f12e5618683cea /client/splash/cloud/index.js
parent0c0c2ec2ecfd64b16ff6ca0e69142223615f0c36 (diff)
display a random face
Diffstat (limited to 'client/splash/cloud/index.js')
-rw-r--r--client/splash/cloud/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/splash/cloud/index.js b/client/splash/cloud/index.js
index f753e77c..d0a39d8c 100644
--- a/client/splash/cloud/index.js
+++ b/client/splash/cloud/index.js
@@ -6,6 +6,7 @@ import datasetList from './datasetList'
import { choice } from '../../util'
import {
+ CLOUD_SCALE,
CLOUD_COLORS,
CLOUD_ROTATION_SPEED,
CLOUD_MAX_COUNT,
@@ -38,7 +39,7 @@ export function init() {
.setZ(Math.random())
.subScalar(1 / 2)
.setLength(1 + Math.random())
- .multiplyScalar(1)
+ .multiplyScalar(CLOUD_SCALE)
cloud.add(sprite)
return sprite
})