-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbook.html
More file actions
183 lines (145 loc) · 5.34 KB
/
book.html
File metadata and controls
183 lines (145 loc) · 5.34 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
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
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="libraries/jquery-3.3.1.min.js"></script>
</head>
<style>
html, body{
height: 100%;
margin: 0;
font-family: 'Helvetica', sans-serif;
}
.section-1{
width: 50%;
height: 100%;
float: left;
background-color: black;
color: white;
}
.section-2{
width: 50%;
height: 100%;
float: left;
}
.section-title, .section-button{
position: absolute;
width: 50%;
text-align: center;
}
.section-title{
top: calc(50% - 5vw);
transition: top 1s;
}
.section-button{
bottom: 5vw;
}
.title-text{
font-size: 5vw;
transition: font-size 1s;
}
.title-smaller{
font-size: 3vw;
transition: font-size 1s;
}
.button-text{
border-radius: 0.5vw;
padding: 0.75vw;
font-size: 1.5vw;
}
#bt-comm-lab, #bt-comm-lab:hover, #bt-ix-lab, #bt-ix-lab:hover{
transition: background-color 1s, color 1s;
}
#bt-comm-lab:hover, #bt-ix-lab:hover{
cursor: pointer;
}
#bt-comm-lab{
border: solid white 0.25vw;
background-color: black;
color: white;
}
#bt-comm-lab:hover{
background-color: white;
color: black;
}
#bt-ix-lab{
border: solid black 0.25vw;
background-color: white;
color: black;
}
#bt-ix-lab:hover{
background-color: black;
color: white;
}
.text-left, .text-right{
top: 0;
transition: top 1s;
}
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
.section-desc{
display: none;
opacity: 0;
transition: opacity 1s;
}
.show-desc{
display: block;
opacity: 1;
transition: opacity 1s;
}
</style>
<body>
<div class="section-1">
<div class="section-title">
<span class="title-text t-comm-lab">COMMUNICATIONS<br>LAB</span>
</div>
<div class="section-button">
<span onclick="showDesc($(this))" id="bt-comm-lab" class="button-text">READ DESCRIPTION</span>
</div>
<div class="section-desc desc-comm-lab">
<p>In this foundation course, designed to provide students with a framework to effectively communicate through digital means, students will explore the possibilities of digital media by successively producing projects that make use of digital images, audio, video, and the Web. Students learn in a laboratory context of hands-on experimentation, and principles of interpersonal communications, media theory, and human factors will be introduced in readings and investigated through discussion. Students will learn the principles of digital imaging, recording and editing video and audio, and the basics of fundamental web languages HTML, CSS and JavaScript, in order to establish a diverse digital toolkit. Both traditional and experimental outputs, including online and interactive media platforms, will be explored.</p>
</div>
</div>
<div class="section-2">
<div class="section-title">
<span class="title-text t-ix-lab">INTERACTION<br>LAB</span>
</div>
<div class="section-button">
<span onclick="showDesc($(this))" id="bt-ix-lab" class="button-text">READ DESCRIPTION</span>
</div>
<div class="section-desc desc-ix-lab">
<p>In this course students will be asked to think beyond the conventional forms of human computer interaction (i.e. the keyboard and mouse) to develop interfaces that consider the entire body, the body's capacity for gesture, as well as the relationship between the body and it's environment. Students will learn the fundamentals of electronics and programming as they build projects using the Arduino microcontroller platform. Arduino is a small computer based on open source hardware and software. When used in conjunction with various sensors and actuators, Arduino is capable of gathering information about and acting upon the physical world. In addition to these physical computing techniques, students will also learn to harness the methods of traditional computation. The fundamentals of programming: variables, conditionals, iteration, functions and objects, will be explored first through the use of JavaScript, an approachable scripting language most commonly associated with the Web, and later with the Processing programming language. Students will gain a deeper appreciation of the expressive possibilities of computation as they learn to author their own software, and not simply use that which has been provided to them. Additional topics will include digital fabrication using 3D printers and laser cutters, the manipulation, presentation, and exchange of data, algorithmic drawing and animation techniques, as well as control of images, video, and audio.</p>
</div>
</div>
</body>
<script type="text/javascript">
var btn;
function showDesc(currBtn){
btn = currBtn;
$currSection = currBtn.parent().prev();
$currTitle = $currSection.children();
$currDesc = currBtn.parent().next();
console.log($currSection);
if($currTitle.hasClass('t-comm-lab')){
$currSection.toggleClass('text-left');
}else{
$currSection.toggleClass('text-right');
}
if($currSection.hasClass('text-left') || $currSection.hasClass('text-right')){
currBtn[0].innerText = "START READING";
var topMargin = ($(window).height() - $currDesc.height()) * 0.5;
$currDesc.toggleClass('show-desc');
$currDesc.css({"margin": topMargin + "px 5vw 0 5vw"});
}
$currTitle.toggleClass('title-smaller');
// if(num == 0){
// $('.section-1 .section-title').toggleClass('text-up-left');
// }
}
</script>
</html>