import java.awt.*; public class hw3 extends BufferedApplet { int w, h, count = 0; int colr, colg,colb,currcol = 255; double t = 0; long time0; double elapsed; int nbMax = 8; Shape shapes[]= new Shape[nbMax]; public void init() { super.init(); } public void render(Graphics g) { if (w == 0) { w = bounds().width; h = bounds().height; for (int i=0; i