-
Notifications
You must be signed in to change notification settings - Fork 2
/
gridulizer.html
50 lines (44 loc) · 1.17 KB
/
gridulizer.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>gridulizer</title>
<style>
body {
margin: 0;
}
.obit-controls-gizmo {
position: absolute;
top: 2em;
right: 2em;
z-index: 1000;
background-color: #FFF0;
border-radius: 100%;
transition: background-color .15s linear;
cursor: pointer;
}
.obit-controls-gizmo.dragging,
.obit-controls-gizmo:hover {
background-color: #FFF3;
}
.obit-controls-gizmo.inactive {
pointer-events: none;
background-color: #FFF0 !important;
}
</style>
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/[email protected]/build/three.module.js",
"three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
}
}
</script>
</head>
<body>
<script type="module" src="./ThreeOrbitControlsGizmo/OrbitControls.js"></script>
<script type="module" src="./ThreeOrbitControlsGizmo/OrbitControlsGizmo.js"></script>
<script type="module" src="./gridulizer.js"></script>
</body>
</html>