To create this project, from a photo, with a sound and a slider that changes the color background, I used the function load of image and sound: function preload (). Then in function draw I added the slide, so that in this way it does its function, we have made the image appear adding it in, but changing the axis of coordinates by mouseX and mouseY, to get movement. And finally I have added the sound to the function setup () so that it plays