mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Initial files
This commit is contained in:
parent
e60bd784f8
commit
c3021baa2f
27
demo.html
Normal file
27
demo.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="gui.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var controllableObject =
|
||||
{
|
||||
"numberProperty": 20,
|
||||
"anotherNumberProperty": 0,
|
||||
"textProperty": "a string",
|
||||
"booleanProperty": false
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
GUI.number(controllableObject, "numberProperty");
|
||||
GUI.number(controllableObject, "anotherNumberProperty", -100, 100);
|
||||
GUI.text(controllableObject, "textProperty");
|
||||
GUI.boolean(controllableObject, "booleanProperty");
|
||||
*/
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user