mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
581e482823
I’ve run the source files through js-beautify because my editor (Atom) kept barfing on things like not having newlines at the ends of files.
20 lines
295 B
HTML
20 lines
295 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.add(obj, 'x');
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|