playing the building - shaygibson
TRANSCRIPT
-
8/14/2019 Playing The Building - ShayGibson
1/8
ARC 3041H: Selected Topics in Achitecture, Technology and Ecology
Playing The BuildingBy Shay Gibson
-
8/14/2019 Playing The Building - ShayGibson
2/8
Public Interaction(Commercial Building After Hours)
Building Environment Control(Envelope Transparency Control)
Electrochomic Glass / Smart Glass
-
8/14/2019 Playing The Building - ShayGibson
3/8
Screen Captures
-
8/14/2019 Playing The Building - ShayGibson
4/8
/*Tower Field Painting
By Shay Gibson
Student #: 995741121*/
//Instructions: Press key a, b, or c.
int num_floors = 40;
int num_panels = 28;
int ZMultiple = 14; // the space between the row
// Defining various counters for the program
int a=0;//Counters for the keytyped function
int b=0;
int c=0;
int d1=1;//Counters for the keytyped / released function
int d2=1;
int d3=1;
int aCounter; //a counter for the controlA procedure loop.
int t=1; // t & s were counters for the controlB procedure loop.
int s=0;
int CC2=0; // CC2 & AA2 were extra counters to help change the colours when inte
int AA2=0;
color cellColor[]=newcolor [num_floors*num_panels]; // Defining the array and s
voidsetup(){
size(400,600); frameRate(30);
for(int i=0; i
-
8/14/2019 Playing The Building - ShayGibson
5/8
}
}
void controlA2(int ORANGE){ // Alternate colour for keyTyped A
aCounter--;
for (int u=0; u d3) && (b > d2)){
controlB(c2);
controlC(c3);
}
}
break; // Ends the structure within a switch and moves to the next one.
case'b': // When keyTyped is 'b'
{
d2=b;
b++;
AA2=0;
controlB(c2);
if (a > d1){
controlA(c1);}
if (c > d3){
controlC(c3);
CC2=CC2+1;
}
if ((a > d1) && (c > d3)){
controlA(c1);
controlC(c3);
}
}
break;
case'c': //When keyTyped is 'c'
{
d3=c;
c++; if (CC2==0){
controlC(c3);
}
if (CC2>=1){
controlC2(c3);
}
if (a > d1){
controlA(c1);
-
8/14/2019 Playing The Building - ShayGibson
6/8
AA2=AA2+1;
}
if (b > d2){
controlB(c2);
}
if ((a > d1) && (b > d2)){
controlA(c1);
controlB(c2);
}
}
break;
default: // the default when no keys are pressed - nothing happens.
{
for (int h=0; h
-
8/14/2019 Playing The Building - ShayGibson
7/8
Touch / Physical Sensors
Force Sensive Resistors Piezoelectric Sensors Capacitance Sensors
A piezoelectric sensor is a device that uses the
piezoelectric eect to measure pressure, accel-
eraon, strain or force by converng them to an
electrical signal.
Oen used to detect strain or slight forces of
change when bent.
FSRs convert mechanical force in electrical resis-
tance.
Generally have two leads that t easily into an
analog input circuit
Come in a variety of forms but are generally at
and small.
Sense small amounts of force. Someones foot
would bring it to its peak reading for simple inter-
acon.
Senses touch by sensing you bodies electrical
charge from distances up to a meter and are used
to measure analogue distance.
Most useful as touch sensors or near touch sen-
sors.
-
8/14/2019 Playing The Building - ShayGibson
8/8