float surface; float wavex= 30, wavey= 20; void setup(){ size(900,900); surface= height/3; } void draw(){ scene(); } void scene(){ background(18,47,233); //ocean// fill(18,219,233); noStroke(); rect(0, surface, width, height - surface); } void waves( float y ) { //// Make waves on surface of ocean. if (frameCount % 10 == 0) { wavex= 30 + random(0,10); // Randomize wave width, every ten frames. wavey= 20 + random(0,4); wavex = wavex -1 + random(2); } // Make waves across width of screen. for (float x=0; x