This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

for(int i=0;i width/2-200){ mx = 10; my += 75; } } for(int i=0;i width){ x = width/2+150; y += 75; } if(y>height){ y = 20; x = width/2+150; } } } void draw() { fill(0, 40); rect(0,0,width,height); noStroke(); people(); frameCounter ++; fill(255); sglogoI = sglogo[sgcount]; mslogoI = mslogo[mscount]; tint(255, 65); image(google, width/2-(google.width+10), 0); image(flickr, width/2 +10, 0); image(flag, 0, 0); tint(255, 125); image(bush, 117, 0); //tint(255, 165); image(citizen, 374, 0); image(sglogoI, width/2+20, height-85); image(mslogoI, width/2-150, height-85); if(mouseX>width - 2){ mouseX = width+1000; } if(mouseX<5){ mouseX = -1000; } if(mouseY>height-2){ mouseY=height+1000; } if(mouseY<5){ mouseY=-1000; } noTint(); imageMode(CORNERS); image(ira, mouseX-75, mouseY-85, mouseX+75, mouseY+75); imageMode(CORNER); for (int i = 0; i < indyNum; i++) { ms[i].update(mouseX, mouseY); ms[i].display(); } for (int i = 0; i < indyNum; i++) { indy[i].update(mouseX, mouseY); indy[i].display(); } } void people(){ if (frameCounter >= 60){ pcount++; frameCounter = 0; if(pcount>=9){ pcount = 0; } citizen = person[pcount]; } if (frameCounter==30){ sgcount++; if(sgcount>=4){ sgcount=0; } } if (frameCounter==59){ mscount++; if(mscount>=9){ mscount=5; } } } class mainstream{ int msx, msy, msimg, mstransx, mstransy; float msscaler; mainstream(int tx, int ty, int timg) { msx=tx; msy=ty; msimg=timg; } void update(int tmx, int tmy) { if (dist(tmx, tmy, msx, msy) < 200) { if(msscaler<1.6){ msscaler += .1; } if(msscaler>1){ mstransx = -100; mstransy = -350; } /*if(mouseX > msx){ mstransx = mstransx+75; } if(mouseX < msx){ mstransx = mstransx-150; } if(mouseY > msy){ mstransy = mstransy+75; } if(mouseY < msy){ mstransy = mstransy-150;

Source code: appropriation_final

Built with Processing