LED Glove – Cody Colgren, Ivan Martinez

A interactive LED glove by Cody C and Ivan M. Materials needed:  Glove (preferably not a fuzzy winter one) 4 LED lights Sheet of copper fabric Super Glue Scissors Tape Two small lithium batteries (3V) Battery encloser Step 1: Make sure the glove is suitable for it being super glued and worked on. It is…

Assignment 1 Cody Colgren

//program made by Cody Colgren void setup() { size(500, 400); strokeWeight(0); stroke(0, 100); smooth(); } void keyPressed() // if the ‘z’ key is pressed the image will reset, if the ‘s’ key is pressed it will take a screenshot { if (key == ‘z’) { background(255,255,255); } if (key == ‘s’) { saveFrame(“drawing-####.png”); } }…

Assignment 1 – Kimani Smith

int angle = 0; PImage BrickWall; void setup() { size(1000, 1000); background(150); noStroke(); fill(0, 102); BrickWall = loadImage(“Brick Wall.jpg”); BrickWall.resize(1000,1000); background(BrickWall); } void draw() { // Draw only when mouse is pressed if (mousePressed == true) { angle += 15; float val = cos(radians(angle)) * 12.0; for (int a = 0; a < 360; a…

Assignment 1 – Luisa Ruiz

void setup() { size(600,600); background(160,210,230); } void draw() { stroke(0); fill(random(0,255), random(0,255), random(0,255)); rect(mouseX, mouseY, 50, 50); if (mouseX > 300) { }else fill(0,0,255); rect(mouseX, mouseY, 50, 50); if (mousePressed) { background(250); fill(0); rect(mouseX, mouseY,50,50); if (mouseX < 300) { }else fill(0,255,0); rect(mouseX, mouseY, 50, 50); for(int lineX = 10; lineX <= 300; lineX +=…

Assignment 1

float prevMouseX = 0; float prevMouseY = 0; float x = 0; float y = 100; float speed = 1; PImage fish; int l; void setup() { size (1000, 800); background (#85DCBA); fish = loadImage(“fished-clipart-clipar-4.png”); } void display() { fish = loadImage(“fished-clipart-clipar-4.png”); fish.resize(300, 200); image(fish,x,y); } void draw(){ move(); display(); for (int l = 0;…

Assignment_1- Juan Rivera Caro

void setup() { size(600,300); background(0); } void draw() { rect(mouseX, mouseY, 50, 50); fill(0); stroke(255); strokeWeight(3); smooth(); rect(mouseX+20, mouseY+20, 50, 50); fill(255); stroke(1); strokeWeight(2); if (mousePressed) { background(0); ellipse(mouseX, mouseY, 50, 50); fill(255); stroke(0, 0, 255); strokeWeight(3); } for (int i=0; i<600; i=i+20) { line(0, 300, 300, i); } for (int i=0; i<600; i=i+20) {…

Assignment 1 code and image

void setup() { size(600,600); stroke(0,133); smooth(); // background(120); } void draw() { strokeWeight(3); ellipse (mouseX,mouseY,70,70); rect(mouseX,mouseY,20,50); rect(mouseX,mouseY,50,20); rect(mouseX,mouseY,-20,-50); rect(mouseX,mouseY,-20,-40); rect(mouseX,mouseY,-50,50); rect(mouseX,mouseY,-40,40); rect(mouseX,mouseY,-30,30); noStroke(); ellipse (mouseX,mouseY,40,40); ellipse (mouseX,mouseY,30,30); ellipse (mouseX,mouseY,20,20); fill(mouseX,mouseY,47,150); if (mousePressed == true) for (int i=0; i<500; i=i+20) fill(random(255), random(255), random(255)); frameRate(30); }

Assignment 1: Rotating Color Eye Wheel by Dustin Drenk

float mouseDistance; int counter; float value; float mouseReleased; PImage Redeye; int i; void setup() { size(displayWidth, displayHeight); tint(random(151), random(-205), (frameCount + i*10) % 151, 100); background(44, 245, 123); Redeye = loadImage(“redeye_256x256.png”); smooth(10); } void draw() { if (counter > 15) { background(44, 245, 123); tint(random(255), random(255), (frameCount + i*20) % 255, 100); counter = 0;…

Broken Glass

  Broken Glass float mouseDistance; int counter; int x= 300; int y = 200; void setup () { size (550,200); background (255); } void draw () { counter++; println(counter); mouseDistance = dist(pmouseX, pmouseY, mouseX, mouseY); fill(#AAAAAA, 300); for (int i=100; i<width; i++) { line(0, i/.5, width, i/.5); } translate (width/2, height/2); rotate(counter); line(0, 0, mouseX,…

Drawing Machine: Dot Grid

Little drop of Lavender Here’s the code! //declare global variable, int+decimals others are whole numbers float x, y; float diameter;//allow int spacing; //integer import processing.pdf.*; boolean saveOneFrame = false; //if its false, it will do something. void setup() { size(720, 720); spacing= width/6; frameRate(3); } void draw() { //to save one frame as PDF if…

Slow Design By Juan Rivera Caro

This Art piece illustrates an animal, in this case a Panda, being affected by the pollution cause by man. The art piece fits into the first slow design principle which is “REVEAL.” As you can see in the art piece, the panda is wearing a mask to help it breath. This piece is showing how…