We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I was wondering if anyone knew a way to only load the newest image in the data folder when the code starts,or IDEALY using a keyCode to switch between images in the folder. I want to be able to change which image is being displayed without having to go into the code to change the file name in " image= loadImage("file name.JPG"); ".
Answers
https://forum.Processing.org/two/discussion/2578/how-to-filter-and-order-a-set-of-files
On your post from : https://forum.processing.org/one/topic/listing-last-10-modified-files-in-directory
It is close to what I need but I would like a user input to change the image not a continuous loop and it slows down my code significantly. Its perfect but unusable for its lag time. If you could help me fix both issues that'd be awesome!