-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (73 loc) · 2 KB
/
index.html
File metadata and controls
73 lines (73 loc) · 2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.5/dat.gui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/stats.js/r16/Stats.min.js"></script>
<script src="starryNightConfig.js"></script>
<script src="starryNightModel.js"></script>
<script src="starryNightView.js"></script>
<script src="starryNightController.js"></script>
<script src="starryNightGui.js"></script>
<script src="starryNightStats.js"></script>
<script src="demo.js"></script>
<style>
body {
margin: 0;
padding: 0;
background: #393939;
color: rgba(255, 255, 255, 0.75);
font-family: 'Lucida Grande', sans-serif;
font-size: 100%;
}
a {
color: #fff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#info {
font-size: 0.75rem;
padding: 0.5rem;
margin: 0 auto;
width: 945px;
text-align: center;
}
#stats {
position: absolute;
top: 0;
left: 0;
}
#container {
margin: 40px auto;
width: 945px;
height: 427px;
}
@media (max-width: 800px) {
#info {
margin: 0;
width: 640px;
}
#container {
margin: 0;
width: 640px;
height: 289px;
}
}
#starry-night {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="info">
Made for <a href="https://put.io">put.io</a> by <a href="https://magnetiq.com">Ates Goral</a> | Original by <a href="https://99designs.co.uk/t-shirt-design/contests/design-put-io-t-shirt-customers-will-want-642950">whynugs</a> (T-shirt) + <a href="https://www.upwork.com/fl/vladpogarskiy3">Vlad Pogarskiy</a> (animation) | <a href="https://github.com/atesgoral/put.io.starry.night">Fork on GitHub</a>
</div>
<div id="stats"></div>
<div id="container">
<canvas id="starry-night"></canvas>
</div>
</body>
</html>