-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (70 loc) · 2.49 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Universal Girl Ranking Metric</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<style type="text/css">
@import url("style.css");
</style>
<script type="text/javascript" src="Three.js"></script>
<script type="text/javascript" src="js/RequestAnimationFrame.js"></script>
<script type="text/javascript" src="js/Stats.js"></script>
<script type="text/javascript" src="rank.js"></script>
<script type="text/javascript" src="axis.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body onLoad="main();">
<header>
<h1>Universal Girl Ranking Metric</h1>
</header>
<div id="container"></div>
<menu id="add">
<form>
<h2>Add a girl</h2>
<label>Type
<span class="small">0-360</span>
</label>
<input type="text" name="Type" value="360" />
<label>Beauty
<span class="small">1 is the best</span>
</label>
<input type="text" name="Beauty" value="0.5" />
<label>Charm
<span class="small">1 is the best</span>
</label>
<input type="text" name="Charm" value="0.5" />
<label>Accuracy
<span class="small">smaller is more accurate</span>
</label>
<input type="text" name="Accuracy" value="0.1" />
<button type="button" onclick="addRank(scene, [Type.value, Beauty.value, Charm.value, Accuracy.value]);">Rank</button>
</form>
</menu>
<menu id="selected">
<h2>Selected</h2>
<div id="Type1">
<label id="LabelType1">Type1
</label>
<div id="BarType1" class="bar"></div>
</div>
<div id="Type2">
<label id="LabelType2">Type2
</label>
<div id="BarType2" class="bar"></div>
</div>
<label>Beauty
</label>
<div id="Beauty" class="bar"/></div>
<label>Charm
</label>
<div id="Charm" class="bar"/></div>
<label>Accuracy
</label>
<div id="Accuracy" class="bar"/></div>
</menu>
<footer>
Copyright © 2011 Etienne Brodu, Florian Dupont, Gratien Rebiere
</footer>
</body>
</html>