mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
27 lines
515 B
HTML
27 lines
515 B
HTML
<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> |