forked from mbareta/3dsimulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
172 lines (156 loc) · 5.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MIT 3D prototype</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/progress.css" />
<link rel="stylesheet" type="text/css" href="css/content.css" />
<link rel="stylesheet" type="text/css" href="css/tooltip.css" />
<link href="https://fonts.googleapis.com/css?family=Lora|Roboto" rel="stylesheet">
</head>
<body>
<div id="webgl"></div>
<div id="content">
<div id="splash">
<u>ACTIVITY</u>
<h4>Mixed Use and Neighborhood Externalities</h4>
<button id="splashBegin" style="visibility: hidden;">BEGIN</button>
</div>
<div id="firstExercise">
<h1>
Instructions: Assignment #1
</h1>
<p>
The goal is to maximize the value of the residential part of the building (second floor).
Click and drag to rotate the view.
</p>
<button id="firstExerciseBegin">START</button>
</div>
<div id="secondExercise">
<h1>
Instructions: Assignment #2
</h1>
<p>
The goal is to maximize the value of the commercial part of the building (first floor).
</p>
<button id="secondExerciseBegin">CONTINUE</button>
</div>
<div id="thirdExercise">
<h1>
Instructions: Assignment #3
</h1>
<p>
The goal is to maximize the value of the whole neighborhood.
</p>
<button id="thirdExerciseBegin">CONTINUE</button>
</div>
<div id="conclusion">
<h1>
Conclusion
</h1>
<p>
Congrats!
</p>
<button id="conclusionBegin">FINISH</button>
</div>
</div>
<div id="container">
<div id="valueBoard">
<div>
<button id="undo">UNDO</button>
<button id="redo">REDO</button>
<button id="rotateLeft">ROTATE LEFT</button>
<button id="rotateRight">ROTATE RIGHT</button>
</div>
<hr>
<span>
RESIDENTIAL VALUE ($)
<span id="residentialValue" class="value-span">
0
</span>
<div id="residentialPercent" class="meter">
<span style="width: 0"></span>
</div>
</span>
<hr>
<span>
COMMERCIAL VALUE ($)
<span id="commercialValue" class="value-span">
0
</span>
<div id="commercialPercent" class="meter">
<span style="width: 0"></span>
</div>
</span>
<hr>
<span>
NEIGHBORHOOD VALUE ($)
<span id="socialValue" class="value-span">
0
</span>
<div id="socialPercent" class="meter">
<span style="width: 0"></span>
</div>
</span>
</div>
<div id="blockMenuResidential">
<div id="selectTypeTitle">
<b>SELECT AND APPLY</b>
</div>
<div data-type="HIGH_END_RESIDENTIAL" data-color="rgb(155, 69, 33)" class="blockMenuResidentialItem">
<span class="menu-label orange">
<a>High-End Residential</a>
</span>
</div>
<div data-type="AFFORDABLE" data-color="rgb(191, 144, 0)" class="blockMenuResidentialItem">
<span class="menu-label yellow">
<a>Affordable Housing</a>
</span>
</div>
</div>
<div id="blockMenuCommercial">
<div id="selectTypeTitle">
<b>SELECT AND APPLY</b>
</div>
<div data-type="CONVENIENCE" data-color="rgb(65, 138, 132)" class="blockMenuCommercialItem">
<span class="menu-label blue">
<a>Local convenience</a>
</span>
</div>
<div data-type="GROCERY" data-color="rgb(155, 69, 33)" class="blockMenuCommercialItem">
<span class="menu-label orange">
<a>Local grocery</a>
</span>
</div>
<div data-type="LOCAL" data-color="rgb(191, 144, 0)" class="blockMenuCommercialItem">
<span class="menu-label yellow">
<a>Local service</a>
</span>
</div>
<div data-type="RESTAURANT" data-color="rgb(191, 158, 116)" class="blockMenuCommercialItem">
<span class="menu-label skin"><a>Restaurant / Bar</a></span>
</div>
<div data-type="TOURISM" data-color="rgb(81, 50, 49)" class="blockMenuCommercialItem">
<span class="menu-label brown"><a>Tourism-oriented low-quality goods</a></span>
</div>
<div data-type="ARTISAN" data-color="rgb(110, 27, 24)" class="blockMenuCommercialItem">
<span class="menu-label red"><a>Artisan and cultural goods</a></span>
</div>
<div data-type="COMMUNITY" data-color="rgb(105, 120, 61)" class="blockMenuCommercialItem">
<span class="menu-label green"><a>Community equipment</a></span>
</div>
</div>
</div>
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/numeral.min.js"></script>
<script src="js/three.js"></script>
<script src="js/Detector.js"></script>
<script src="js/OrbitControls.example.js"></script>
<script src="js/stateBuffer.js"></script>
<script src="js/sceneModel.js"></script>
<script src="js/calc.js"></script>
<script src="js/clickEvents.js"></script>
<script src="js/earth.js"></script>
</body>
</html>