Final Project

SURVIVE THE PLASTIC-ELAINE & TRACY- ANDY GARCIA CONCEPT AND DESIGN Our concept is to get people’s attention to marine plastic pollution. According to Seachange, worldwide, we produce ~400 million tons of plastic per year. Roughly 10 million tons end up in the sea. That’s a dump truck full of plastic added to the ocean every… Read more Final Project

Exercise1  void setup() {  Serial.begin(9600); } void loop() {  int sensor1 = analogRead(A0);  int sensor2 = analogRead(A1);  Serial.print(sensor1);  Serial.print(“,”);  // put comma between sensor values  Serial.print(sensor2);  Serial.println(); // add linefeed after sending the last sensor value  delay(100); } Exercise2 import processing.serial.*; PImage photo; int NUM_OF_VALUES_FROM_ARDUINO = 2; /** YOU MUST CHANGE THIS ACCORDING TO YOUR… Read more

recitation 10

Exercise1  void setup() {  Serial.begin(9600); } void loop() {  int sensor1 = analogRead(A0);  int sensor2 = analogRead(A1);  Serial.print(sensor1);  Serial.print(“,”);  // put comma between sensor values  Serial.print(sensor2);  Serial.println(); // add linefeed after sending the last sensor value  delay(100); } Exercise2 In this part I think the hard part is how to use the envelop. finally, I… Read more recitation 10

Final project

I wanna make the transparency changed by the size of the plastic I first use a remap but it didn’t work very well. So I used a if statement.   for ( int i=0; i < u.length-nPlastic; i++) {     if( pSize[i]<4){       trans[i] = random(100,155);