I'm creating an JPEG image sequence in JS. Now, I'm trying to create a function that will preload the images from the directory assets/img/frames/...
Is there a way I can load everything from within the directory into an array and loop through it to check whether the image is loaded or not? I'm trying to avoid writing each individual file into the array since there are 500+ images.
Thanks,