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...
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...
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");...
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 already know how to create buttons using dat.GUI (passing in functions as described in this question: Is it possible to create a button using dat.gui). I want to make a button that triggers a load file event like you would do with <input type=&#...
Just wondering if somebody else had the same problem. I created a scroller inside a gui in dat.gui. When I later want to change the min and max values of the scroller, I do:  scrollBar.__min=0; scrollBar.__max=listNbBaseElements[newValue2]-1; scrollB...
I would like to increase the width of a text field with DAT.GUI library Javascript.  From this link, if I do (with 0 index corresponding to the index gui.add field like done below):  gui.add(params, 'StartingVector').name('Starting Vector...
When a THREE.js scene is occupies the entirety of an html page, the dat.GUI is forced inside the scene, like this.  However, when the THREE.js scene does not take up the whole page, then placement of the dat.GUI becomes more awkward. The THREE.js doc...
Keep in mind I'm totally new to javascript, dat.gui, even html. I've searched for an answer to my question here (and elsewhere) but couldn't find anything similar.  I'm loading a .fbx model in three.js, using code that I modified from...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.