Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jul 15, 2024
1 parent aeb3cf1 commit aeeb4b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions threejs/particle-life-3d/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ function init() {

controls = new OrbitControls(camera, renderer.domElement);
controls.enableDamping = true;
controls.dampingFactor = 0.05;
controls.dampingFactor = 0.5;
//controls.screenSpacePanning = false;
//controls.minDistance = 500;
//controls.maxDistance = 3000;
controls.minDistance = 100;
controls.maxDistance = 3000;


let directionalLight = new THREE.DirectionalLight(0xffffff, 2);
Expand Down

0 comments on commit aeeb4b7

Please sign in to comment.