-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
35 lines (32 loc) · 1.24 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>index</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Yane Frenski">
<script type="text/javascript" src="lib/three.min.js"></script>
<script type="text/javascript" src="lib/TrackballControls.js"></script>
<script type="text/javascript" src="lib/TrackballControlsTouch.js"></script>
<script type="text/javascript" src="fonts/helvetiker_bold.typeface.js"></script>
<script type="text/javascript" src="src/ThreeGraphs.js"></script>
<script type="text/javascript">
window.onload = function(){
sData = {
cols: [ { name:"col1", color:"CC0000" },
{ name:"col2", color:"00CC00" }
],
rows: [ { name: "row 1", values: [5,6] },
{ name: "row 2", values: [3,9] }
]
};
newBarChart = new THREEGRAPHS.BarChart ( sData );
newBarChart.initSceneVars();
newBarChart.initWebGLScene();
};
</script>
</head>
<body style="background-color:#000;">
</body>
</html>