forked from tparisi/WebGLBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintegration-text.html
40 lines (34 loc) · 958 Bytes
/
integration-text.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
<!DOCTYPE html>
<html>
<head>
<title>3D Text</title>
<link href="../css/webglbook.css" rel="stylesheet" />
<link href="integration-text.css" rel="stylesheet" />
<script src="../libs/Three.js"></script>
<script src="../libs/jquery-1.6.4.js"></script>
<script src="../libs/jquery.mousewheel.js"></script>
<script src="../libs/RequestAnimationFrame.js"></script>
<script src="../sim/sim.js"></script>
<script src="integration-text.js"></script>
<script src="../fonts/optimer_bold.typeface.js"></script>
<script src="../fonts/droid/droid_sans_bold.typeface.js"></script>
<script>
var renderer = null;
var scene = null;
var camera = null;
var mesh = null;
var theApp = null;
$(document).ready(
function() {
var container = document.getElementById("container");
theApp = new TextApp();
theApp.init({ container: container });
theApp.run();
}
);
</script>
</head>
<body>
<div id="container"></div>
</body>
</html>