2023-04-17 06:10:38 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<!-- ahhh -->
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Document</title>
|
|
|
|
<link rel="stylesheet" href="./css/styles.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body style="margin:0;">
|
|
|
|
<canvas id="myCanvas" style="display: block;box-sizing: border-box;"></canvas>
|
|
|
|
<div id="toolbar">
|
|
|
|
<br>
|
|
|
|
<select id="shape-selector">
|
2023-05-26 06:15:15 +00:00
|
|
|
<option value="EyePrototype">EyePrototype</option>
|
|
|
|
<option value="Nodal_expanding">Nodal_expanding</option>
|
|
|
|
<option value="MaryFace">MaryFace</option>
|
|
|
|
<option value="CircleExpand">CircleExpand</option>
|
2023-04-17 06:10:38 +00:00
|
|
|
<option value="PolyTwistColourWidth">PolyTwistColourWidth</option>
|
|
|
|
<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>
|
|
|
|
</select>
|
|
|
|
<div id="custom"></div>
|
|
|
|
<br>
|
|
|
|
<p>Controls:</p>
|
|
|
|
<p>
|
|
|
|
Press "Space" to pause and start the animation
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Press "P" to show/hide the control panel
|
|
|
|
</p>
|
|
|
|
<br>
|
|
|
|
<p>Degrees Per Second</p>
|
|
|
|
<input type="text" id="inputDegPerSec" value="5" onchange="ChangeDegPerSec(this.value)">
|
|
|
|
<br>
|
|
|
|
<p>Controls</p>
|
|
|
|
<div class="controls">
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
<button class="buttonReset button-8" id="resetButton" onclick="Reset()">Reset Rotation</button>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
<script src="./js/helper.js" type="text/javascript"></script>
|
2023-11-15 06:40:50 +00:00
|
|
|
<!-- <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> -->
|
2023-04-17 06:10:38 +00:00
|
|
|
<script src="./js/math.js" type="text/javascript"></script>
|
|
|
|
<script src="./js/objects.js" type="text/javascript"></script>
|
|
|
|
<script src="./js/index.js"></script>
|
|
|
|
|
|
|
|
</html>
|