mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
13 lines
254 B
HTML
13 lines
254 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript" src="build/dat.gui.min.js"></script>
|
|
<script type="text/javascript">
|
|
var obj = { x: 5 };
|
|
var gui = new dat.gui.GUI();
|
|
gui.add(obj, 'x');
|
|
</script>
|
|
</body>
|
|
</html> |