I copied this Pen a while back and had it on my list and finally come to it now. However my knowledge is kind of rusty and i'm a little stuck right now trying to change it from two hardcoded images to a dynamic array of images.
Here is the Pen
I tried adding
var slide3 = new Slide(width, height, 'middle');
var l3 = new THREE.ImageLoader();
l3.setCrossOrigin('Anonymous');
l3.load('/assets/ScreenSaver/space3.jpg', function(img) {
slide3.setImage(img);
})
root.scene.add(slide3);
But that wont cut it, it seems i need to add another control variable.
Any tips or advice would be appreciated.