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 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 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...
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'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....
This is a dropdown list within a dat.gui interface. Once you click any number, the jumpSwitcher will be whatever number you chose. I’m trying to replace each list that pertains to their specific number based on that what the user chose for Starsyst...
Description of the problem:  There are 2 variable:   controller1 = {i: 100}; controller2 = {i: 300};   and a control variable  control = controller1;   I attached dat.GUI to control.i.  gui = new dat.GUI(); controller = gui.add(control, "i");...
I'd like to hide a folder from the dat.gui's controls. By hide I mean hide, not close. I don't want to let the user see the folder name nor let him open it when hidden. I'll control the visibility of the folder programmatically based...
How to set a color with dat.gui in one object the Three js  I wanna choose the color with the dialog some like Box 3 in this example   How to make this?...
I'm building on my Three.js project and have been struggling for some time on how i could divide two functions into separate files  I have my Main.js(React Class Component) file that contains 200> rows of code and two of these functions that i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.