summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Becker <jeff@i2p.rocks>2019-07-07 10:37:34 -0400
committerJeff Becker <jeff@i2p.rocks>2019-07-07 10:37:34 -0400
commit57e109053c7914561d21da1285610d6b9c1228b5 (patch)
tree447fae3a0136cc819343ca55f637273812fba807
parent87e97a1a80dbca6820748801cebc2d21c071ebe7 (diff)
fix scale
-rw-r--r--docroot/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docroot/main.js b/docroot/main.js
index 8877d9f..6079641 100644
--- a/docroot/main.js
+++ b/docroot/main.js
@@ -219,7 +219,7 @@ function onBuffer (buffer, vid) {
cube.scale.y = state.intense * scaler;
cube.rotation.z = state.vol / (0-2.5);
}
- camera.position.z = 60 + ( state.intense * scaler );
+ camera.position.z = 20 + ( state.intense * scaler );
skybox.rotation.x += Math.PI / 128;
skybox.rotation.y += state.dy * state.vol * ((state.dancer % 2) ? scaler : 0-scaler);
}