See New to class and need a project - #2 by Chrisir
Let’s say you work with a for loop to display c images
c is the upperBound of the for loop - check out the reference
c= map(mouseY, height, 0, 1, 128);
or whatever - see reference for map()
for the positions use an array with PVector and fill it in setup ()
So before setup():
PVector[] list = new PVector[128];
fill it with random positions in setup
(a random throughout would make the images jump and everything would flicker)
(lots of room for improvement, eg. size, rotation, relocation…)