animate/docs/index.html

59 lines
2.2 KiB
HTML
Raw Normal View History

2023-03-21 05:23:52 +00:00
<!DOCTYPE html>
<html>
<!-- ahhh -->
2023-04-07 23:20:14 +00:00
2023-03-21 05:23:52 +00:00
<head>
<title>Document</title>
<link rel="stylesheet" href="./css/styles.css">
</head>
2023-04-07 23:20:14 +00:00
<body style="margin:0;">
<canvas id="myCanvas" style="display: block;box-sizing: border-box;"></canvas>
2023-03-21 05:23:52 +00:00
<div id="toolbar">
<br>
<select id="shape-selector">
<option value="Nodal_expanding">Nodal_expanding</option>
2023-05-23 07:00:24 +00:00
<option value="MaryFace">MaryFace</option>
2023-04-29 07:27:11 +00:00
<option value="EyePrototype">EyePrototype</option>
<option value="CircleExpand">CircleExpand</option>
2023-03-21 05:23:52 +00:00
<option value="PolyTwistColourWidth">PolyTwistColourWidth</option>
2023-04-07 23:20:14 +00:00
<option value="FloralPhyllo">FloralPhyllo</option>
<option value="FloralPhyllo_Accident">FloralPhyllo_Accident</option>
<option value="Spiral1">Spiral1</option>
<option value="FloralAccident">FloralAccident</option>
<option value="Phyllotaxis">Phyllotaxis</option>
<option value="SquareTwist_angle">SquareTwist_angle</option>
<option value="rectangle_pattern1">rectangle_pattern1</option>
2023-03-21 05:23:52 +00:00
</select>
<div id="custom"></div>
<br>
2023-04-07 23:20:14 +00:00
<p>Controls:</p>
<p>
Press "Space" to pause and start the animation
</p>
<p>
Press "P" to show/hide the control panel
</p>
<br>
2023-04-17 06:10:38 +00:00
<p>Speed</p>
<input type="text" id="inputDegPerSec" value="10" onchange="ChangeDegPerSec(this.value)">
2023-03-21 05:23:52 +00:00
<br>
<p>Controls</p>
<div class="controls">
2023-04-07 23:20:14 +00:00
<button class="controlFrameButton button-8" onclick="BackwardFrame()"><</button>
<button class="controlPauseButton button-8" id="pauseButton" onclick="TogglePause()">Play</button>
<button class="controlFrameButton button-8" onclick="ForwardFrame()">></button>
2023-03-21 05:23:52 +00:00
</div>
2023-04-07 23:20:14 +00:00
<button class="buttonReset button-8" id="resetButton" onclick="Reset()">Reset Rotation</button>
2023-03-21 05:23:52 +00:00
</div>
2023-03-23 04:36:19 +00:00
<div>
<button onclick="manualToggleSettings()" class="button">Show/hide</button>
</div>
2023-03-21 05:23:52 +00:00
</body>
<script src="./js/helper.js" type="text/javascript"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="./js/math.js" type="text/javascript"></script>
<script src="./js/objects.js" type="text/javascript"></script>
<script src="./js/index.js"></script>
2023-04-07 23:20:14 +00:00
2023-03-21 05:23:52 +00:00
</html>