//Philip Paniccia //Ocean float chop=50; //distance between waves float sealevel; float waveX=0; float sunX=25, sunY= 50; float arc; float right=0; float left=width; float fishDX=1; int school=2; float fishX=50,fishY; void setup(){ //setup size(500,500); sealevel= height/4; fishY= sealevel*2; } void draw(){ scene(); waveX= (waveX+=1) % chop; waves(chop); sun(arc); grass(); //restarts school if(fishX>width*2){ fishX= -200; reset(); } fishX= (fishX+2); fishies(school,right,left); text(school, 10,10); } void scene(){ background(0,150,250); fill(0,150,150); rect(0,sealevel, width,height); } void waves(float chop){ //make waves on top of sealevel float x, y; x= waveX; y= sealevel; for (x=0; x