-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (42 loc) · 1.11 KB
/
index.html
File metadata and controls
49 lines (42 loc) · 1.11 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
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta
name="viewport"
content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;"
/>
<head>
<title>render dev</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#root {
width: 100vw;
display: inline-block;
height: 100vh;
position: relative;
}
</style>
</head>
<body>
<div id="root"></div>
</body>
<!-- <script src="//mrdoob.github.io/stats.js/build/stats.min.js"></script>
<script>
var stats = new Stats();
stats.showPanel( 0 ); // 0: fps, 1: ms, 2: mb, 3+: custom
document.body.appendChild( stats.dom );
stats.dom.style.left = '50%'
stats.dom.style.top = '40px'
function animate() {
stats.begin();
// monitored code goes here
stats.end();
requestAnimationFrame( animate );
}
requestAnimationFrame( animate );
</script> -->
</html>