Made default thickness and nodesize a bit bigger
parent
1b9f4478a8
commit
7f35056ab8
6
gui.js
6
gui.js
|
@ -2,8 +2,8 @@ import { GUI } from 'lil-gui';
|
||||||
|
|
||||||
|
|
||||||
const DEFAULTS = {
|
const DEFAULTS = {
|
||||||
thickness: 0.25,
|
thickness: 1.0,
|
||||||
nodesize: 1.25,
|
nodesize: 2.0,
|
||||||
linkopacity: 0.5,
|
linkopacity: 0.5,
|
||||||
link2opacity: 0.5,
|
link2opacity: 0.5,
|
||||||
shape: '120-cell',
|
shape: '120-cell',
|
||||||
|
@ -65,7 +65,7 @@ class FourDGUI {
|
||||||
});
|
});
|
||||||
this.gui.add(this.params, 'hyperplane', 1.4, 2.0);
|
this.gui.add(this.params, 'hyperplane', 1.4, 2.0);
|
||||||
this.gui.add(this.params, 'zoom', 0.1, 2.0);
|
this.gui.add(this.params, 'zoom', 0.1, 2.0);
|
||||||
this.gui.add(this.params, 'thickness', 0.1, 2);
|
this.gui.add(this.params, 'thickness', 0, 2);
|
||||||
this.gui.add(this.params, 'linkopacity', 0, 1).onChange(
|
this.gui.add(this.params, 'linkopacity', 0, 1).onChange(
|
||||||
(v) => setLinkOpacity(v, true)
|
(v) => setLinkOpacity(v, true)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue