There seems to be a problem with saving parameters in dat.gui, or I'm missing something really obvious..
The problem shows when clicking the gear icon which should open a popup with the JSON to be saved. Also saving to local storage does not work for me. Here are two JSFiddles:
http://jsfiddle.net/navFooh/XZcde/ with dat.gui.min.js, clicking the gear throws an error in the console:
Uncaught TypeError: Cannot read property 'forEach' of undefined dat.gui.min.js:3http://jsfiddle.net/navFooh/8Hek6/ with dat.gui.js, clicking the gear icon does show the popup with JSON, but the parameter
xdoes not show
The sample they have online works fine (see comment for link). But they have minimized all their sample code, including the lib itself. So I can't even resolve if they're even using the latest build.
Any help would be greatly appreciated.