Spaces:
Running
Running
Update index.html
#1
by
ewdlop
- opened
- index.html +12 -8
index.html
CHANGED
|
@@ -7,13 +7,17 @@
|
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
</body>
|
| 19 |
</html>
|
|
|
|
| 7 |
<link rel="stylesheet" href="style.css" />
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
<div id="wrap">
|
| 11 |
+
<canvas id="gl"></canvas>
|
| 12 |
+
<div class="ui">
|
| 13 |
+
<label>θ_E² 常數 <input id="thetaE" type="range" min="0.0001" max="0.1" step="0.0001" value="0.01"></label>
|
| 14 |
+
<label>影子臨界比例 <input id="shadowScale" type="range" min="1.0" max="4.0" step="0.01" value="1"></label>
|
| 15 |
+
<label>位置(拖曳畫布移動)</label>
|
| 16 |
+
<label>背景圖 <input id="img" type="file" accept="image/*"></label>
|
| 17 |
+
<button id="reset">重置</button>
|
| 18 |
+
<label><input id="animate" type="checkbox" checked="true"> 自轉/繞行示意</label>
|
| 19 |
+
</div>
|
| 20 |
+
</div>
|
| 21 |
+
<script src="index.js"/>
|
| 22 |
</body>
|
| 23 |
</html>
|