dat.gui/index.html

69 lines
2.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>gui-dat</title>
<link rel="icon" type="image/png" href="demo/assets/favicon.png" />
<link href="demo/demo.css" media="screen" rel="stylesheet" type="text/css" />
<link href="gui.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="gui.js"></script>
<script type="text/javascript" src="controllers/slider.js"></script>
<script type="text/javascript" src="controllers/controller.js"></script>
<script type="text/javascript" src="controllers/controller.boolean.js"></script>
<script type="text/javascript" src="controllers/controller.function.js"></script>
<script type="text/javascript" src="controllers/controller.number.js"></script>
<script type="text/javascript" src="controllers/controller.string.js"></script>
<script type="text/javascript" src="time/scrubber.js"></script>
<script type="text/javascript" src="time/timer.js"></script>
<script type="text/javascript" src="demo/improvedNoise.js"></script>
<script type="text/javascript" src="demo/prettify.js"></script>
<script type="text/javascript" src="demo/demo.js"></script>
<script type="text/javascript">
//<![CDATA[
2011-02-08 15:40:38 +00:00
var timer;
window.onload = function() {
GUI.loadJSON('{"guis":[{"open":true,"width":279,"openHeight":95,"scroll":0,"values":["gui-datddd",3.315,0.5841]},{"open":true,"width":283,"openHeight":127,"scroll":0,"values":[1.71,45,true,null]}],"timers":[]}');
var fizzyText = new FizzyText("gui-dat");
var gui = new GUI();
var gui2 = new GUI();
2011-02-02 18:12:55 +00:00
// Text field
gui.add(fizzyText, "message");
2011-02-02 18:12:55 +00:00
// Sliders with min and max
2011-02-03 00:01:12 +00:00
gui.add(fizzyText, "maxSize", 0.5, 7);
gui.add(fizzyText, "growthSpeed", 0.01, 1);
2011-02-03 00:45:12 +00:00
gui2.add(fizzyText, "speed", 0.1, 2);
// Sliders with min, max and increment.
gui2.add(fizzyText, "noiseStrength", 10, 100, 5);
2011-02-03 00:45:12 +00:00
// Boolean checkbox
gui2.add(fizzyText, "displayOutline");
// Fires a function called "explode"
gui2.add(fizzyText, "explode");
2011-02-02 18:12:55 +00:00
};
//]]>
</script>
</head>
<body>
<!-- GUIDAT logo -->
<div id="helvetica-demo"></div>
</body>
</html>