dat.gui/demo.html

27 lines
515 B
HTML
Raw Normal View History

2011-01-23 21:23:53 +00:00
<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>