Skip to content

Commit

Permalink
add func collapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
fsewing committed Jan 31, 2024
1 parent b3d8766 commit 1d40a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions SandwichNet/p5.gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
};

// pass through ...
this.toggleCollapsed = function() { qs.toggleCollapsed(); };
this.show = function() { qs.show(); };
this.hide = function() { qs.hide(); };
this.toggleVisibility = function() { qs.toggleVisibility(); };
Expand Down
3 changes: 2 additions & 1 deletion SandwichNet/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function setup()
frameRate(60);
var gui = createGui('Neural Network Config');
gui.addGlobals('inputNodes', 'hiddenNodes', 'outputNodes', 'learningRate');

gui.toggleCollapsed();

oldInputNodes = inputNodes;
oldHiddenNodes = hiddenNodes;
oldOutputNodes = outputNodes;
Expand Down

0 comments on commit 1d40a39

Please sign in to comment.