-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (70 loc) · 2.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body { margin: 0;}
</style>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
}
}
</script>
</head>
<body>
<div class="group">
<form class="form-group">
<fieldset id="shape" class="radio-group">
<div class="label">
<label for="cube">cube</label>
<input type="radio" value="BoxGeometry" name="shape">
</div>
<div class="label">
<label for="sphere">sphere</label>
<input type="radio" value="SphereGeometry" name="shape">
</div>
<div class="label">
<label for="cone">cone</label>
<input type="radio" value="ConeGeometry" name="shape">
</div>
</fieldset>
<fieldset id="color" class="radio-group">
<div class="label">
<label for="red">red</label>
<input type="radio" value="red" name="color">
</div>
<div class="label">
<label for="blue">blue</label>
<input type="radio" value="blue" name="color">
</div>
<div class="label">
<label for="yellow">yellow</label>
<input type="radio" value="yellow" name="color">
</div>
</fieldset>
<fieldset id="material" class="radio-group">
<div class="label">
<label for="stone">stone</label>
<input type="radio" value="stone" name="material">
</div>
<div class="label">
<label for="iron">iron</label>
<input type="radio" value="iron" name="material">
</div>
<div class="label">
<label for="wood">wood</label>
<input type="radio" value="wood" name="material">
</div>
</fieldset>
</form>
<div id="container" class="container"></div>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>