Categories

2 Train | Interactive code for 2nd week

int num = 40; int[] x = new int[num]; int[] y= new int[num]; float range=100; void setup() { size(800, 800); noStroke(); } void draw() { background(0); translate(width/2, height/2); for(int a=10; a<mouseX+mouseY; a+=20){ rotate(5); strokeWeight(2); stroke(mouseX/10,mouseY/10,100); noFill(); rect(20, 20, a, 20); fill(255,102); for(int i=0;i<num-1; i++){ x[i]=x[i+1]; y[i]=y[i+1]; } frameRate(30); x[num-1]=mouseX+(int)random(-10,10); y[num-1]=mouseY+(int)random(-10,10); rect(200+random(-range,range),200+random(-range,range),10,10); fill(random(0,255),random(0,255),random(0,255),240); for(int k=0;k<num;k++){ rect(x[k]+random(-range,range),y[k]+random(-range,range),10,10); fill(random(0,255),random(0,255),random(0,255),240); } }   for(int a=10; a<mouseX+mouseY; a+=5){ rotate(.21); strokeWeight(2); stroke(149, 242, 250); noFill(); rect(100, 100, 80, 80); } for(int a=10; a<mouseX+mouseY; a+=2){ rotate(.5); strokeWeight(2); stroke(250, 255, 15); noFill(); rect(200, 200, 10, 80); a=a+2; }   }...

Continue Reading

7-Web ChatBot

I've added a link to the screen recording of my chat bot here. She responds to inquiries and even checks multiple arrays for variations on the questions!...

Continue Reading

j-design: Wallet Prototype

Wallet Prototype Cassandra was happy with her current wallet but wanted a few inclusions: More zip locks to keep coins and other stuff. A flip to cover the card holder slots so that the cards don't fall. Not very big in size. (The wallet I prototyped...

Continue Reading

2 Train Making a Wallet

While Prototype my wallet I started from the main issue the client had. That was the fact that money and cards may fall out if held in certain ways, she also wanted to make sure it would fit in her pocket. I started the prototype...

Continue Reading