# \#datgui

**URL:** https://discourse.threejs.org/tag/datgui/772.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Morph Targets with GLTF Gui](https://discourse.threejs.org/t/morph-targets-with-gltf-gui/15451)

<div class="topic-metadata">

**Author:** [@Coder](https://discourse.threejs.org/u/Coder)\
**Replies:** 3\
**Last updated:** [May 8, 2024, 6:32pm UTC](https://discourse.threejs.org/t/morph-targets-with-gltf-gui/15451 "2024-05-08T18:32:00Z")

</div>

I created a GLTF model with 2 Morph Targets. One Sphere =\> which Morphs to suzanne and also to a Cone. I loaded them in three.js and was able to produce one of the morphing through the below code. var params = { …

---

## [Conway's Game of Life 3D with Orbit Controls and datgui](https://discourse.threejs.org/t/conways-game-of-life-3d-with-orbit-controls-and-datgui/63169)

<div class="topic-metadata">

**Author:** [@marianpekar](https://discourse.threejs.org/u/marianpekar)\
**Replies:** 1\
**Last updated:** [March 23, 2024, 11:36am UTC](https://discourse.threejs.org/t/conways-game-of-life-3d-with-orbit-controls-and-datgui/63169 "2024-03-23T11:36:38Z")

</div>

A 3D implementation of Conway’s Game of Life written in JavaScript using Three.js and dat-gui. live: https://marianpekar.github.io/game-of-life-threejs/ github: https://github.com/marianpekar/game-of-life-threejs

---

## [3D visualization of Fractal Brownian Motion configurable with datgui](https://discourse.threejs.org/t/3d-visualization-of-fractal-brownian-motion-configurable-with-datgui/63170)

<div class="topic-metadata">

**Author:** [@marianpekar](https://discourse.threejs.org/u/marianpekar)\
**Replies:** 0\
**Last updated:** [March 23, 2024, 9:13am UTC](https://discourse.threejs.org/t/3d-visualization-of-fractal-brownian-motion-configurable-with-datgui/63170 "2024-03-23T09:13:40Z")

</div>

A swarm of icosahedrons that is semi-randomly distributed and animated across Fractal Brownian Motion noise curves; configurable with datgui. live: https://marianpekar.github.io/fbm-space/ github: https://github.com/ma…

---

## [dat.GUI styling (Angular threejs)](https://discourse.threejs.org/t/dat-gui-styling-angular-threejs/57994)

<div class="topic-metadata">

**Author:** [@Zero\_Two](https://discourse.threejs.org/u/Zero_Two)\
**Replies:** 1\
**Last updated:** [November 10, 2023, 7:33am UTC](https://discourse.threejs.org/t/dat-gui-styling-angular-threejs/57994 "2023-11-10T07:33:41Z")

</div>

I have a dat.GUI window in my component. The window is fixed to top right position. I tried to style it with css to margin-top of 100px but it doesn’t work. The reason being for the margin is because some part of the dat…

---

## [Dat.gui is not displaying as expected](https://discourse.threejs.org/t/dat-gui-is-not-displaying-as-expected/52498)

<div class="topic-metadata">

**Author:** [@Prerna\_Mohan](https://discourse.threejs.org/u/Prerna_Mohan)\
**Replies:** 12\
**Last updated:** [June 8, 2023, 3:25pm UTC](https://discourse.threejs.org/t/dat-gui-is-not-displaying-as-expected/52498 "2023-06-08T15:25:31Z")

</div>

I tried everything but Dat.gui controls is not showing up on the browser as expected. It looks like this: My code to add the datgui is like this: const gui = new dat.GUI(); gui.add(PointLight.position, ‘x’).min(-20)…

---

## [\[Solved\]Create a label in a control gui](https://discourse.threejs.org/t/solved-create-a-label-in-a-control-gui/48742)

<div class="topic-metadata">

**Author:** [@il\_luzzi](https://discourse.threejs.org/u/il_luzzi)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 6:34am UTC](https://discourse.threejs.org/t/solved-create-a-label-in-a-control-gui/48742 "2023-03-07T06:34:57Z")

</div>

Hi, i’m using this gui for my project but i’m having some problmes with it, i need to trasform the text area into a label in order to meke it uneditable but i can’t find the method to do so. I alrdy tried readonly() but …

---

## [Adding gui options to globe texture](https://discourse.threejs.org/t/adding-gui-options-to-globe-texture/46014)

<div class="topic-metadata">

**Author:** [@Shange](https://discourse.threejs.org/u/Shange)\
**Replies:** 0\
**Last updated:** [December 20, 2022, 11:42am UTC](https://discourse.threejs.org/t/adding-gui-options-to-globe-texture/46014 "2022-12-20T11:42:21Z")

</div>

I’ve added gui options for a globe texture but its not working properly, edit: it doesnt tell me anything in the console. here is the globe: here is my code: import { GUI } from "./js/dat.gui.module.js"; // GUI c…

---

## [Problem with initializing dat.GUI with react](https://discourse.threejs.org/t/problem-with-initializing-dat-gui-with-react/17118)

<div class="topic-metadata">

**Author:** [@bread\_crusher](https://discourse.threejs.org/u/bread_crusher)\
**Replies:** 2\
**Last updated:** [September 9, 2022, 8:23am UTC](https://discourse.threejs.org/t/problem-with-initializing-dat-gui-with-react/17118 "2022-09-09T08:23:07Z")

</div>

hey, guys noob alert here I have an issue of integrating dat.GUI with react component I tried loading it after the objects loaded but it did not work crying for any suggestions here is the code import React, { Component…

---

## [Updating Gui coordinates of user uploaded CAD model](https://discourse.threejs.org/t/updating-gui-coordinates-of-user-uploaded-cad-model/38737)

<div class="topic-metadata">

**Author:** [@Jeff\_Boker](https://discourse.threejs.org/u/Jeff_Boker)\
**Replies:** 0\
**Last updated:** [June 1, 2022, 12:41pm UTC](https://discourse.threejs.org/t/updating-gui-coordinates-of-user-uploaded-cad-model/38737 "2022-06-01T12:41:34Z")

</div>

I am using Transform Control to move around a CAD model in Threejs. I want to allow the user to be able to type in x,y,z coordinates into the dat.gui to automatically update the location of the model by typing. If the u…

---

## [Can we use style css properpty for DAT.GUI](https://discourse.threejs.org/t/can-we-use-style-css-properpty-for-dat-gui/38029)

<div class="topic-metadata">

**Author:** [@Gundeep\_Singh](https://discourse.threejs.org/u/Gundeep_Singh)\
**Replies:** 2\
**Last updated:** [May 12, 2022, 4:33am UTC](https://discourse.threejs.org/t/can-we-use-style-css-properpty-for-dat-gui/38029 "2022-05-12T04:33:49Z")

</div>

Hello guys, is it possible we can change style of DAT.GUI in three js like in the above image text color is green I need to change that into blue color and also implement that text must be bold can we change this? a…

---

## [GPGPU/FBO/gpuComputationRenderer output for Dat.gui?](https://discourse.threejs.org/t/gpgpu-fbo-gpucomputationrenderer-output-for-dat-gui/37896)

<div class="topic-metadata">

**Author:** [@mac](https://discourse.threejs.org/u/mac)\
**Replies:** 0\
**Last updated:** [May 6, 2022, 4:22pm UTC](https://discourse.threejs.org/t/gpgpu-fbo-gpucomputationrenderer-output-for-dat-gui/37896 "2022-05-06T16:22:48Z")

</div>

Years ago I remember seeing someone that was using dat.gui to output GPGPU/framebuffer passes (noise, images etc) presumably via a little canvas or image injection however i cant find anything online anymore where someon…

---

## [GLTF validator report with Dat GUI](https://discourse.threejs.org/t/gltf-validator-report-with-dat-gui/37362)

<div class="topic-metadata">

**Author:** [@Gundeep\_Singh](https://discourse.threejs.org/u/Gundeep_Singh)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 7:27am UTC](https://discourse.threejs.org/t/gltf-validator-report-with-dat-gui/37362 "2022-04-22T07:27:19Z")

</div>

Hello guys, I need to display GLTF validation report with stats GUI and I also installed package gltf-validator I am able to print all the values in console only, I just wanna know how to use that values in code so I di…

---

## [dat.GUI for WebXR](https://discourse.threejs.org/t/dat-gui-for-webxr/21906)

<div class="topic-metadata">

**Author:** [@sylwesterdigital](https://discourse.threejs.org/u/sylwesterdigital)\
**Replies:** 7\
**Last updated:** [February 10, 2022, 12:23pm UTC](https://discourse.threejs.org/t/dat-gui-for-webxr/21906 "2022-02-10T12:23:11Z")

</div>

Recently I was playing with Three-Mesh-UI: https://github.com/felixmariotto/three-mesh-ui which is a small library for building VR user interfaces. It’s really nice but missing things offered by HTML DOM dat.GUI (https:/…

---

## [Dat.gui shows on other pages too](https://discourse.threejs.org/t/dat-gui-shows-on-other-pages-too/33227)

<div class="topic-metadata">

**Author:** [@Radu\_Cazacu](https://discourse.threejs.org/u/Radu_Cazacu)\
**Replies:** 0\
**Last updated:** [January 2, 2022, 8:07pm UTC](https://discourse.threejs.org/t/dat-gui-shows-on-other-pages-too/33227 "2022-01-02T20:07:19Z")

</div>

Hello , due to lack of time i implemented three js in react the primitive way, set route for it and works fine untill i switch to another link. const Modeling = () =\> { const mountRef = useRef(null); useEffect(() =\> { …

---

## [Is it possible to combine CSS2DRenderer and DAT.GUI together when the gui overlays the scene?](https://discourse.threejs.org/t/is-it-possible-to-combine-css2drenderer-and-dat-gui-together-when-the-gui-overlays-the-scene/27725)

<div class="topic-metadata">

**Author:** [@kasra0](https://discourse.threejs.org/u/kasra0)\
**Replies:** 2\
**Last updated:** [July 2, 2021, 4:57pm UTC](https://discourse.threejs.org/t/is-it-possible-to-combine-css2drenderer-and-dat-gui-together-when-the-gui-overlays-the-scene/27725 "2021-07-02T16:57:33Z")

</div>

Hi, I have a scene with some GUI (dat.gui) that are superimposed on the scene I am able to add labels on 3D objects with CSS2DObject and CSS2DRenderer but then the controls are not responding anymore. If I reduce th…

---

## [How to update a gui's display from an object's properties?](https://discourse.threejs.org/t/how-to-update-a-guis-display-from-an-objects-properties/27578)

<div class="topic-metadata">

**Author:** [@twisted](https://discourse.threejs.org/u/twisted)\
**Replies:** 2\
**Last updated:** [June 27, 2021, 1:43pm UTC](https://discourse.threejs.org/t/how-to-update-a-guis-display-from-an-objects-properties/27578 "2021-06-27T13:43:51Z")

</div>

I can control an object’s properties from a gui. For example, if my scene has a cube, I can update cube.position.z from a gui. function initGui(){ const gui = new dat.GUI(); const cubePositionFolder = gui.addFolder…

---

## [Is it possible to change the background color of the scene from the gui controls?](https://discourse.threejs.org/t/is-it-possible-to-change-the-background-color-of-the-scene-from-the-gui-controls/27307)

<div class="topic-metadata">

**Author:** [@Santy\_Salgado](https://discourse.threejs.org/u/Santy_Salgado)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 3:14pm UTC](https://discourse.threejs.org/t/is-it-possible-to-change-the-background-color-of-the-scene-from-the-gui-controls/27307 "2021-06-17T15:14:46Z")

</div>

---

## [Select option values and text](https://discourse.threejs.org/t/select-option-values-and-text/26616)

<div class="topic-metadata">

**Author:** [@Kelors](https://discourse.threejs.org/u/Kelors)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 3:58pm UTC](https://discourse.threejs.org/t/select-option-values-and-text/26616 "2021-05-27T15:58:39Z")

</div>

Hello, I´m adding a select box with gui.add. At the moment the option value="" is the same as the option text. Example: \<option value="house"\>house\</option\> Now I want that the \<option value="" and option text have di…

---

## [How can I see with a checkbox the wireframe of the model?](https://discourse.threejs.org/t/how-can-i-see-with-a-checkbox-the-wireframe-of-the-model/25414)

<div class="topic-metadata">

**Author:** [@LA21](https://discourse.threejs.org/u/LA21)\
**Replies:** 7\
**Last updated:** [April 16, 2021, 11:18am UTC](https://discourse.threejs.org/t/how-can-i-see-with-a-checkbox-the-wireframe-of-the-model/25414 "2021-04-16T11:18:11Z")

</div>

In this example: three.js examples , how can I add a new folder to the panel in which the user can toggle between the wireframe of the model and the textured model ?

---

## [Help with dat.gui and issues in Animation](https://discourse.threejs.org/t/help-with-dat-gui-and-issues-in-animation/17103)

<div class="topic-metadata">

**Author:** [@novice\_coder](https://discourse.threejs.org/u/novice_coder)\
**Replies:** 4\
**Last updated:** [March 26, 2021, 4:59pm UTC](https://discourse.threejs.org/t/help-with-dat-gui-and-issues-in-animation/17103 "2021-03-26T16:59:13Z")

</div>

I am rendering an animated 3D model from https://sketchfab.com/3d-models/hoverboard-d93296d2412b4997ae8cb96baaba5ccd which has 3 animations and 1 static pose listed. However, on inspecting the 3D model i noticed 4 animat…

---

## [How to use three.js to change the size and position of the imported obj model?](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678)

<div class="topic-metadata">

**Author:** [@WZUchen](https://discourse.threejs.org/u/WZUchen)\
**Replies:** 6\
**Last updated:** [March 23, 2021, 3:13pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678 "2021-03-23T15:13:58Z")

</div>

Hello, I’m a sophomore. I’ve seen other people’s recommendation on other websites. I’d like to ask you about it three.js1 Two questions The size and position of the imported obj model can be adjusted three.js I’ve tried…

---

## [Can you duplicate objects using dat-gui](https://discourse.threejs.org/t/can-you-duplicate-objects-using-dat-gui/23018)

<div class="topic-metadata">

**Author:** [@joe\_cancer](https://discourse.threejs.org/u/joe_cancer)\
**Replies:** 2\
**Last updated:** [February 1, 2021, 2:50pm UTC](https://discourse.threejs.org/t/can-you-duplicate-objects-using-dat-gui/23018 "2021-02-01T14:50:18Z")

</div>

I’m trying to make it so that when a user presses a button, it duplicate an existing object in the scene. What I’m trying to do is similar to this Introduction to Three.js but the code is old and three.js doesn’t support…

---

## [Add Array elements in Gui as layer](https://discourse.threejs.org/t/add-array-elements-in-gui-as-layer/19314)

<div class="topic-metadata">

**Author:** [@Khalido](https://discourse.threejs.org/u/Khalido)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 8:41am UTC](https://discourse.threejs.org/t/add-array-elements-in-gui-as-layer/19314 "2020-10-15T08:41:25Z")

</div>

Hi, I’m trying to get my children of model in dat.gui so I can enable / dissable them as a layer. This is my array And here is my js file https://codeshare.io/am4qqo How can I get the array in dat.gui Thanks for help…

---

## [I don't know why the dat gui works like this](https://discourse.threejs.org/t/i-dont-know-why-the-dat-gui-works-like-this/18344)

<div class="topic-metadata">

**Author:** [@hotkimho](https://discourse.threejs.org/u/hotkimho)\
**Replies:** 2\
**Last updated:** [September 2, 2020, 11:36am UTC](https://discourse.threejs.org/t/i-dont-know-why-the-dat-gui-works-like-this/18344 "2020-09-02T11:36:35Z")

</div>

I don’t speak English so I use Google Translate to ask questions I am using threejs, cannonjs, bulma(CSS), dat gui. If you use bulma(CSS), dat gui will come out like the picture. If bulma(CSS) is not used, dat gui w…

---

## [Changing geometry vertices using dat.GUI](https://discourse.threejs.org/t/changing-geometry-vertices-using-dat-gui/17618)

<div class="topic-metadata">

**Author:** [@battosai\_the\_code\_slayer](https://discourse.threejs.org/u/battosai_the_code_slayer)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 3:46am UTC](https://discourse.threejs.org/t/changing-geometry-vertices-using-dat-gui/17618 "2020-08-04T03:46:33Z")

</div>

I’m working on an application that allows a user to change the noise frequencies of a basic plane using dat.GUI. Im using code from the Simplex-noise.js by jwagner to generate the noise. The noise generation works perfec…

---

## [How to call dat.GUI function to instead the default UI?](https://discourse.threejs.org/t/how-to-call-dat-gui-function-to-instead-the-default-ui/15556)

<div class="topic-metadata">

**Author:** [@AlanXin](https://discourse.threejs.org/u/AlanXin)\
**Replies:** 7\
**Last updated:** [May 27, 2020, 6:37am UTC](https://discourse.threejs.org/t/how-to-call-dat-gui-function-to-instead-the-default-ui/15556 "2020-05-27T06:37:47Z")

</div>

If I have a UI control like the image above, it is not friendly on mobile. Therefore, how can I call the related function on the other method? I want to create a slide button to call it. Thanks

---

## [Dat not defined](https://discourse.threejs.org/t/dat-not-defined/15413)

<div class="topic-metadata">

**Author:** [@Victor\_M\_Barba](https://discourse.threejs.org/u/Victor_M_Barba)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 7:08am UTC](https://discourse.threejs.org/t/dat-not-defined/15413 "2020-05-21T07:08:03Z")

</div>

I’m trying to get the gui.dat on my page… https://www.songnes.com/gift/page3dat.html is not working… var gui = new dat.GUI(); gui.addColor("#0000ff").name('Color'); gui.open(); I have this, and the dat is not defined…

---

## [How to add controllers to change the color of the cube? (page2controlers)](https://discourse.threejs.org/t/how-to-add-controllers-to-change-the-color-of-the-cube-page2controlers/15300)

<div class="topic-metadata">

**Author:** [@Victor\_M\_Barba](https://discourse.threejs.org/u/Victor_M_Barba)\
**Replies:** 8\
**Last updated:** [May 21, 2020, 4:33am UTC](https://discourse.threejs.org/t/how-to-add-controllers-to-change-the-color-of-the-cube-page2controlers/15300 "2020-05-21T04:33:28Z")

</div>

Hello: I see that is possible to add a control to change a color of a cube. I see that in the top right hand corner. It’s a little drop down menu that you can change: color, position, rotation etc. I’m trying to lear…

---

## [Reading the values in the sliders](https://discourse.threejs.org/t/reading-the-values-in-the-sliders/14880)

<div class="topic-metadata">

**Author:** [@Victor\_M\_Barba](https://discourse.threejs.org/u/Victor_M_Barba)\
**Replies:** 2\
**Last updated:** [May 10, 2020, 4:15am UTC](https://discourse.threejs.org/t/reading-the-values-in-the-sliders/14880 "2020-05-10T04:15:40Z")

</div>

I have a working code, with “sliders” gui.dat controllers. I can move the slider and the cube gets bigger or smaller, it works. also in rotation! I would like to know 2 things: FIRST) when I rotate an object, it goes…

---

## [Changing camera rotation with GUI](https://discourse.threejs.org/t/changing-camera-rotation-with-gui/14900)

<div class="topic-metadata">

**Author:** [@jedinger](https://discourse.threejs.org/u/jedinger)\
**Replies:** 0\
**Last updated:** [May 4, 2020, 2:09pm UTC](https://discourse.threejs.org/t/changing-camera-rotation-with-gui/14900 "2020-05-04T14:09:56Z")

</div>

Hello! I’m having trouble setting the camera in my project to the right rotation. I tried with the ThreeJS editor and copy/paste the values in my project’s code but the result is totally different. So I forked the exam…

[Next page](https://discourse.threejs.org/tag/datgui/772.md?match_all_tags=true&page=1&tags%5B%5D=datgui)
