I would like to create a button using dat.gui library. In a perfect world, this would work like this:   gui.add("button", "click me");...
I'm dynamically adding controls to a dat.gui interface, but the "save settings" functionality doesn't recognize them.  var mygui = new dat.GUI(); mygui.remember(mygui);  // standard way of adding a control mygui.control1 = 0.0; var co...
I am quite new with dat.gui. According to this little tutorial, you can invoke an object's function from the gui, just passing it to the gui's add function:  gui.add(fizzyText, 'explode');   Is it possible to pass arguments to the exp...
I tried to use dat.GUI in the following three.js example.  I just did the following code changes to add a GUI to adjust mesh opacity.  var loader=new THREE.VTKLoader(); loader.load ("models/vtk/bunny.vtk", function(geom){ var mesh = new THREE...
I made a menu using dat.gui for my applcation with Three.js. It works fine, I have also discovered that pressing h key I can hide the menu created with dat.gui. My question is how can I make the menu appear/disappear directly from the code?   var gui...
I am trying to figure out a way to easily disable/enable buttons within dat.gui.  I have dat.gui set up to control an animation. When the animation reaches its end, I want the "Play" button to become disabled. I have tried adding a "disab...
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 wor...
I'm extremely new to javascript and dat.gui so bear with me. I'm wondering how to create a drop down menu with a default value at the top:  so i have something like:   gui.add(text, 'language', ['english','spanish',...
I'm developing an easy web application, and I'm using two js libraries: dat.gui and three.js.  My problem is the drop down menu is locked. I can't open it.  // gui initialization (dat.gui) function initGui() {      var Options = function(...
I've been trying to figure out a way to style individual panels or gui's using Dat.gui.  What is the best way to do this? I could search for panel names in the DOM then apply the style but it seems like an overly complicated solution....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.