mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
readme
This commit is contained in:
parent
542517793f
commit
f21e50f041
@ -7,10 +7,7 @@ dat-gui creates an interface that you can use to modify variables with very litt
|
||||
Download the [minified library]( todo ) and include it in your html.
|
||||
|
||||
```html
|
||||
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.3.4/platform.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/dat-gui/r3/gui.js"></script>
|
||||
|
||||
<script src="gui.js"></script>
|
||||
```
|
||||
|
||||
Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable's initial value.
|
||||
|
@ -19,9 +19,7 @@
|
||||
<p>dat-gui creates an interface that you can use to modify variables with very little code. </p>
|
||||
<h3 id="basic-usage">Basic Usage</h3>
|
||||
<p>Download the <a href="todo">minified library</a> and include it in your html.</p>
|
||||
<pre><code class="lang-html">
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.3.4/platform.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/dat-gui/r3/gui.js"></script>
|
||||
<pre><code class="lang-html"><script src="gui.js"></script>
|
||||
</code></pre>
|
||||
<p>Create controllers by adding objects and their properties. dat-gui chooses a controller based on the variable's initial value.</p>
|
||||
<pre><code class="lang-javascript">var gui = new Gui();
|
||||
|
Loading…
Reference in New Issue
Block a user