Floss Manual (List)
in
Programming Questions
•
1 month ago
Hi, I try to understand the list function here
http://fr.flossmanuals.net/processing/ch019_les-listes
I copy the code trying to watch if it could work with my pictures un data folder.
The code said that pictures are load.. but we don't say to the code where there are.
When a run this code that return this message "Canot Invoke size() on the array type PImage[]. I try to modify by "resize".. nothing happen. Could you try to answer me . I thank you.
void setup(){size(500,500);}
PImage[] images = new PImage[4]; /// i Just got 4 images in the data folder
void draw(){for(int i=0; i<images.size(); i++) {images[i] = loadImage("image_" + i + ".png");image( images[i], random(width), random(height) );}}
1