Create a random image wall

Hey everybody,

So a bit of a newbie (not totally). I have a project/installation that I am trying to develop and am wondering if it is possible to do it with Processing.

I have a large selection of images (50,000 +, jpegs + pngs, different sizes).

I would like to randomly select a certain amount of them (eg. 10) and then project them . I would like this to iterate every couple of seconds, so that a new image wall of 10 random images appears every couple of seconds.

Is this possible with processing, or am I better trying Maxmsp or something else?

Thanks in advance,

Opt Out

I think Processing can do that, but of course, due to the size of the dataset you will need to be very careful in the loading step, or everything will collapse.

The best thing would be to organize the directory of images in such a way that you can randomize the names of the files and load only the selected ones.

1 Like

Should the images be repeating or non-repeating? Do you want to shuffle them like a deck and then deal 10 at a time, or do you want to pull 10 from a bag and then put them back in the bag?

1 Like

Hey Jeremy,

Thanks for taking the time to reply.

The project has moved on a bit since I posted last week. I started another thread* with more up to date issues here:

*Hope that’s ok with mods and I’m not double posting?

That’s fine!

In general, if the project concept is stable and it has a group of related questions, it is easier to keep adding follow-up questions to a big thread – that way people trying to help you can come up to speed in one place, and aren’t hunting around or re-asking similar questions in multiple threads. So “now that they stop, how do I make them bounce?” – same thread, because we need all the same info on what the class is. Completely disconnected part of the project – motion detection, vs random audio generation – different thread is fine.


Thanks for clarifying Jeremy, I’ll be more diligent in the future :smile:

No no – you are already doing great, just answering your question.

1 Like