Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Aug 2, 2024
1 parent b198ba7 commit 590fe5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions threejs/attractors/lorenz-variation/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ let attractor = (x, y, z) => {
return { dx, dy, dz };
};


/*
const goToSource = () => {
window.location.href = "https://github.com/jcponce/jcponce.github.io/blob/master/threejs/attractors/lorenz-variation/main.js";
}

*/

/**
* Reset functions
Expand Down Expand Up @@ -191,7 +191,7 @@ gui.add(params, 'autoRotate').name('Auto Rotate').onChange(value => {

gui.addColor(particlesMaterial, 'color').name('Color');
gui.add({fullScreen: toggleFullScreen}, 'fullScreen').name('Toggle Full Screen');
gui.add({ source: goToSource }, 'source').name('Source code');
//gui.add({ source: goToSource }, 'source').name('Source code');
gui.close();

/**
Expand Down

0 comments on commit 590fe5a

Please sign in to comment.