-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (162 loc) · 3.3 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
<html lang="en">
<style>
.modalBase{
position: absolute;
width: 100%;
height: 100%;
top:0;
left:0;
margin: 0;
overflow: hidden;
z-index:1;
background-image: url("../images/modalBackground2.jpg");
background-size: cover;
background-color:black;
}
.modalHeader
{
position: absolute;
width: 50%;
height: 50%;
top:45%;
right: 25%;
font-family: "Century Gothic";
font-weight: 400;
font-size: 400%;
color:white;
z-index:2;
}
.modalBox {
position: absolute;
width: 50%;
height: 80%;
top: 10%;
right:25%;
margin: 0;
text-align: center;
z-index: 2;
display:block;
background-color: rgb(255, 255, 255);
opacity: 0.9;
margin: auto;
}
.modalText {
position: absolute;
text-align: left;
width: 40%;
height: 50%;
top:55%;
right: 35%;
margin: 0;
z-index: 3;
display:block;
font-family: "Century Gothic";
font-size: 100%;
color:white;
}
.linkText {
position: relative;
z-index: 3;
font-family: "Century Gothic";
font-size: 100%;
color:white;
}
.creditText{
position: absolute;
text-align: right;
bottom:3%;
right: 3%;
margin: 0;
font-size: 75%;
z-index: 3;
font-family: "Century Gothic";
color:white;
display:block;
}
.modalLoadingText{
position: absolute;
text-align: center;
width: 40%;
height: 1%;
top:70%;
left: 25%;
margin: 0;
z-index: 3;
font-family: "Century Gothic";
color:white;
display:block;
}
.modalProgressBorder{
background-color:white;
opacity:0.5;
position: absolute;
text-align: left;
width: 40%;
height: 2%;
top:70%;
left: 25%;
margin: 0;
z-index: 3;
display:block;
}
.modalProgressBar{
background-color:white;
opacity: 0.75;
position: absolute;
width: 1%;
height: 2%;
top:70%;
left: 25%;
margin: 0;
z-index: 3;
}
.modalLoading {
position: absolute;
text-align: center;
top: 55%;
right: 50%;
z-index: 3;
display:block;
color:rgb(0, 0, 0);
margin: 0;
display:block;
}
.modalEnterText{
position: absolute;
text-align: left;
width: 10%;
height: 1%;
top:70%;
right: 65%;
margin: 0;
z-index: 3;
font-family: "Century Gothic";
color:white;
display: none;
text-decoration: underline;
cursor: pointer;
}
.canvasClass{
position: absolute;
width: 100%;
height: 100%;
}
</style>
<body>
<div id="modalFrame" class="modalBase">
<div class="modalHeader">A Cabin in the Woods</div>
<div class ="modalText"> A friend of mine was looking for a tiny home in which he could live semi-nomadically. As such, the plan of the house was sized to align with an oversized transportation permit. Program includes space for a kitchen, a small living area, storage and a bed in the loft.
<br>
<br> This is built on three.js and imports Rhino geometry. Code is <a href="https://github.com/drewjhart/cabin" style="color:#ffffff;">here.</a>
</div>
<div id="modalBarBorder" class="modalProgressBorder"></div>
<div id="modalBar" class="modalProgressBar"></div>
<div id ="modalLoadText" class="modalLoadingText">Loading...</div>
<div id="modalEnter" class="modalEnterText"> Click here to start. </div>
<a href="https://www.jelly-green.com/past-work" class="creditText"> Painting by Jelly Green</a>
</div>
<canvas id = "c" class="canvasClass"></canvas>
</body>
<script src="cabin.js" type="module">
</script>
</html>