-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (41 loc) · 1.17 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>Point Light Example</title>
<style>
* {
padding: 0;
margin: 0;
}
#webgl {
width: 100%;
height: 100%;
}
</style>
</head>
<body onload='main()'>
<canvas id='webgl'>Please use a browser that supports 'canvas'</canvas>
<script src='./lib/webgl-utils.js'></script>
<script src='./lib/webgl-debug.js'></script>
<script src='./lib/cuon-utils.js'></script>
<script src='./lib/cuon-matrix.js'></script>
<script src='./main.js'></script>
<script src="https://rawgit.com/FarhadG/repo-card/master/repo-card.min.js"></script>
<script>
RepoCard.configure({
repo: 'webgl-lights',
username: 'farhadg',
title: 'WebGL Lights',
subtitle: '@farhadg',
thumb: 'url(https://avatars0.githubusercontent.com/u/1647596?v=3&s=460)',
background: 'black',
info: 'A simple WebGL light implementation done in the fragment shader.',
position: {
top: 25,
right: 25
}
});
</script>
</body>
</html>