mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
20 lines
297 B
Markdown
20 lines
297 B
Markdown
|
# dat.gui
|
||
|
|
||
|
Quickly configurable controllers for the web.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
Include
|
||
|
|
||
|
```html
|
||
|
<script src="gui.js"></script>
|
||
|
```
|
||
|
|
||
|
With very little code, dat gui creates an interface that you can use to modify variables.
|
||
|
|
||
|
```javascript
|
||
|
var gui = new dat.gui();
|
||
|
gui.add( object, 'someNumber', 0, 1 );
|
||
|
```
|
||
|
|