After coming across this Pen a while ago, I had it on my to-do list and finally decided to work on it. However, my coding knowledge is not as sharp as it used to be, and I'm currently struggling with transforming it from two hardcoded images to a dynamic array of images.
If you're interested, here is the Pen
I attempted to add:
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);
However, it seems that just adding this code snippet is not enough; it appears that I need to include an additional control variable.
I would appreciate any tips or advice on how to proceed with this.