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 339d5af commit 6a852a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threejs/particle-life-3d/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function init() {

controls = new OrbitControls(camera, renderer.domElement);
controls.enableDamping = true; // Optional: Enable damping (smooth panning and zooming)
//controls.dampingFactor = 0.1; // Optional: Set damping factor
controls.dampingFactor = 0.05; // Optional: Set damping factor

initializeParticles();

Expand Down

0 comments on commit 6a852a8

Please sign in to comment.