The reason this sketch plays so slowly is that * Everytime draw() loops it searches the directory, * loads all the images into memory and then * finally draws all the images to the screen. * This would be a lot quicker if we could turn the * searching directories and the loading images into * memory into a function that gets loaded when * a key is pressed. Sounds like version. 2 me thinks!*

Source code: fileLoader

Built with Processing