From 7444027eabd36c5516687f87f8dd044a4cc51b22 Mon Sep 17 00:00:00 2001 From: rouce Date: Sun, 15 Oct 2023 04:06:44 -0400 Subject: [PATCH] incrase starter view dist, increase min dist --- public/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/script.js b/public/script.js index 3788ceb..b4fecff 100755 --- a/public/script.js +++ b/public/script.js @@ -135,8 +135,8 @@ window.addEventListener("resize", onWindowResize); let controls = new OrbitControls(camera, labelRenderer.domElement); controls.enablePan = false; -controls.minDistance = 8; -controls.maxDistance = 12; +controls.minDistance = 10; +controls.maxDistance = 14; controls.enableDamping = true; controls.autoRotate = false; @@ -179,7 +179,7 @@ let g = new THREE.BufferGeometry().setFromPoints(pts); g.setAttribute("color", new THREE.Float32BufferAttribute(clr, 3)); g.setAttribute("uv", new THREE.Float32BufferAttribute(uvs, 2)); let m = new THREE.PointsMaterial({ - size: 0.16, + size: 0.17, vertexColors: false, color: new THREE.Color(0x743c2f), onBeforeCompile: (shader) => {