Recitation 8

build a circuit with two potentiometers and write an Arduino sketch that reads their values and sends them serially. Then, write a Processing sketch that draws a circle and reads those two analog values from Arduino. This sketch should modify the circle’s x and y values based on the input from Arduino. Just like an… Read more Recitation 8

ricitation 7

  float x = 0; float y = 0; void setup() {   size(800, 800);   background(0); } void draw() {   for (int i = 130; i<width; i+=250) {     for (int j = 100; j<height; j+=250) {       //fill (255, 0, 0);       pushMatrix();       translate(i, j);       drawFlower();       popMatrix();     }   } } void drawFlower() {      //for(int i = 0;… Read more ricitation 7

recitation6

int amount = 300; int[] x = new int[amount]; int[] y = new int[amount]; int[] z = new int[amount]; float circle_x[] = {}; float circle_y[] = {}; float move_x[] = {}; float move_y[] = {}; float speed; void setup() {   size(1024, 768, P3D);   background(0);   noFill();   stroke(255);   strokeWeight(1);   for (int i = 0; i<amount; i++) {… Read more recitation6

Midterm project proposal

Do-Re-Mi Our group’s idea is to use a distance sensor to make a kind of instrument that is controlled by distance.  You stand at different distances and the sensor will sense and make different tones. This instrument can interact with a few people simultaneously as they stand at different distances.

Recitation 4: Drawing Machines

Step 1: Build the circuit void setup() {  pinMode(9, OUTPUT);  //pin 9 to the base of TIP122 } void loop() {  //turn transistor ON         digitalWrite(9, HIGH);  delay(1000);  //turn transistor OFF                                     digitalWrite(9, LOW);  delay(100); }     Step 2: Control rotation with a potentiometer /* * MotorKnob * * A stepper motor follows the… Read more Recitation 4: Drawing Machines

Group Project

First, write about the idea your group focused on that fulfills the assigned criteria. Explain precisely how what your group invented derives from, responds to or relates, in some significant manner, to the established form of interaction you identified in your research of the two projects in the RESEARCH phase of the project. Provide idea sketches for your design… Read more Group Project