I am using dat.gui in a webapp that needs a userid / password. Like normal webapps, I would like to mask the password to '*******' as the user is typing in the password.
I am aware about the onChange event on a text field that will return me the…
When i run my code, i get the following error in this line:
var gui = new dat.GUI();
error: Unable to get the 'getItem' property null reference or undefined.
I imported the library, i don't know what is wrong, here is my code:
…
I am using dat.gui to provide an interface for an application to control the scene similar to the following example:
http://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage
Problem:
I need to add an action to the checkbox and another…
I am having a few problems with dat.gui when using three.js where the user cannot manually type input into the gui. Parameters with integers do not change until the user clicks on their text box. When that happens, they change only by the movement…
I am trying to load Dat-GUI : https://github.com/dataarts/dat.gui
with my meteor project. I added the dat-GUI source in the client/lib folder.
Here is my code:
Template.EditorControllbar.rendered = function () {
var controllBar =…
I am trying to create an object that can be customized by dat.GUI. I want the shape of the geometry to be changed by the user, not just the rotation and position. I tried to add the part of the code which geometry is being created in the rendering…
I have a for loop for running some iterations of javascript code and a function within that For Loop. The problem is that the function within my loop isn't receiving the index integer. Here is the code:
for (var i = 0; i < ToggleCount; i++) {
…
I'm trying to manually update a dat.gui controller. I followed the details on this page: http://workshop.chromeexperiments.com/examples/gui/#10--Updating-the-Display-Manually but it still does not work for me. Here is a sample of my code:
var…
Please excuse the SEO friendly title, but I would like to make the problem I am currently solving as accessible as possible. For those of you who are looking to customise the look and feel of dat.gui, you need to download the source and include it…
I have a class which has been instantiated many times and I would like to change a certain instance variable for all of them. How would I go about doing this using dat.js?
e.g
function MyClass(){
this.x = 1;
}
var arr = [];
for(var i =0; i<…
I have a gui where the use can select different shapes to render with a dropdown. This works well. Now I wanna display a folder with some slider. The count, name and min/max values of the sliders differ in which shape is selected. How can I…
I need to put on a transparency model stl with dat.gui am using the command:
gui.add(opacity_model, 'model').onChange(function(){
if (opacity_model, 'model' == true) {
material.opacity = 0.0;
}…
I need to put a link within the control dat.gui to open an html file, How to do this ? I have already put levels of transparency and checkbox but do not know how do to open a link.
I need to change the transparency of a file. Dae (collada), by my code with the library Three.js with dat.gui. I'm using:
$gui = new DAT.GUI();
gui.add(opacity_pele, 'pele').onChange(function(){
if (…