proj 8: (continuation of project 6 and 7)

int many = 10;
Person[] haider = new Person[many];
Strings[] names={"geo","jon",...};
- int r,g,b;
-
-
void setup() {
//
size();
resetall();
}
void resetall() {
- reset all size values for all obj.
wt= int(random(50,300));
}
for (int i=o;i<many;i++) {
haider[i].name=names[i];
haider[i].reset();
}

void draw() {
/// next frame

//( lines on the table should be displayed in the color of the person )
for ( int i=0; i<many; i++; {
-
-
- fill (haider[i].r, haider[i].g, haider[i].b);
text ( haider[i].weight, x, y);

class Person{
- float height;
- float weight;
- String name;
- int r,g,b;

String[] names = {"geo","jon","ken","tom","harry"}
Person ( String name, float height, float weight, int r, int g, int, b){

this.name = name;
this.height= height;
this, weight= weight;

}

void show(int x, int y) {
/// display the object 
}
}

for (int i=0; i<many; i++) {
haider[i]= new Person (names [j], random(36,96), random(90,350),int(random(255)) int(random(255)),int(random(255)));




