-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>BabylonJS SPS Parenting JK1</title>
<style>
html, body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#renderCanvas {
width: 100%;
height: 100%;
touch-action: none;
}
#fps {
position: absolute;
right : 10px;
top: 10px;
border-radius: 3px;
display: inline-block;
padding: 2px 4px;
font-weight: bold;
font-size: 11.844px;
color: white;
background-color: #999;
font-family: Arial, Helvetica, sans-serif;
}
</style>
<script src="babylon.max.js"></script>
<script src="limbs.js"></script>
<script src="anim.js"></script>
</head>
<body>
<canvas id="renderCanvas"></canvas>
<span id="fps">60 fps</span>
<script>
window.onload = init;
</script>
</body>
</html>