-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheditor.html
More file actions
73 lines (73 loc) · 1.88 KB
/
editor.html
File metadata and controls
73 lines (73 loc) · 1.88 KB
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
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<title>ShaderBrew</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<style>
* { box-sizing: border-box; }
body {
color: #fff;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 13px;
text-align: center;
background-color: #050508;
margin: 0;
overflow: hidden;
}
canvas {
display: block;
position: absolute;
top: 36px; left: 260px; right: 300px; bottom: 44px;
margin: auto;
}
#info { display: none; }
a { color: #e94560; }
.lil-gui {
position: fixed !important;
top: 0 !important;
right: 0 !important;
bottom: 44px !important;
width: 300px !important;
max-height: none !important;
overflow-y: auto !important;
border-left: 1px solid #1f1f2f !important;
--font-size: 13px;
--input-font-size: 13px;
--widget-height: 22px;
--slider-knob-width: 3px;
--background-color: rgba(8, 8, 16, 0.97);
--title-background-color: #0c0c18;
--folder-indent: 8px;
}
.lil-gui .title { font-size: 12px; }
#time {
position: fixed;
bottom: 48px;
right: 310px;
font-family: 'Consolas', monospace;
font-size: 11px;
color: #444;
z-index: 9996;
pointer-events: none;
}
</style>
</head>
<body>
<div id="info">
ShaderBrew - Powered by <a href="http://threejs.org" target="_blank">three.js (r174)</a>
</div>
<div id="time"></div>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.174.0/build/three.module.min.js",
"three/addons/": "https://unpkg.com/three@0.174.0/examples/jsm/",
"pixy": "./pixy.module.min.js"
}
}
</script>
<script type="module" src="src/app.js"></script>
<script type="module" src="src/ui/top-nav.js"></script>
</body>
</html>