I'm trying to build a slideshow that will be used for over 4,000 images and have some properties like panning, zooming, jump cueing ect. For this to be possible I need to find a way to load groups of images from the 4,000 to choose from(they will be organized with letter for each group and numbers to differentiate between all the photos in the group. i.e. the first photo would be named "a1.jpg" the second "a2.jpg" I've made a sketch that will load the different groups of photos but now my problem is that every time I run the draw function the images are being loaded again slowing down the program so no effects are possible to create. I've included my sketch below and my question is, is there a way that I can load there images and then once they are loaded, move quickly between them and add effects to them?
//this runs and loads the images correctly but it has no way of being able to jump out of the loading part of the function which keeps the draw loop slow.
here is what I was trying to do using a boolean to get the sketch to load all the images and them jump out of the loading function after all the images have been passed through. I can't get it to display any images.
Part of the code relies on a java library called whirlycache (
https://whirlycache.dev.java.net/) that I'm not sure how to implement. Could someone please help me figure out how to use this library. I've tired running the code in both processing and with eclipse running processing and I can't figure it out.
Hey I'm having trouble figuring out how to load arrays of PImages so the can be switched between quickly once they have been loaded. I'm trying to make a sort of slideshow that I can control and I need to be able to cut quickly between images but there are too many to load all at once( around 4000).
If anyone thinks they could give me some help here is my code.