From bd085641e87663921f3ac9925270b6b6b0e1f701 Mon Sep 17 00:00:00 2001 From: Juan Carlos Ponce Campuzano <37394697+jcponce@users.noreply.github.com> Date: Tue, 13 Aug 2024 21:11:25 +1000 Subject: [PATCH] Update script.js --- threejs/icosahedron-fractal/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/threejs/icosahedron-fractal/script.js b/threejs/icosahedron-fractal/script.js index 05648780..fcba35c9 100644 --- a/threejs/icosahedron-fractal/script.js +++ b/threejs/icosahedron-fractal/script.js @@ -22,6 +22,7 @@ function init() { // Controls const controls = new OrbitControls(camera, renderer.domElement); controls.enableDamping = true; + controls.dampingFactor = 0.03; // Icosahedron Geometry const geometry = new THREE.IcosahedronGeometry(1.5);