From dc701f957ae2c1e5868fd7fd3cd48b0a22789d56 Mon Sep 17 00:00:00 2001 From: Elizabeth Cray Date: Sun, 18 Jun 2023 04:28:29 -0400 Subject: [PATCH] Slideshow --- scripts/scene.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/scene.js b/scripts/scene.js index eb35e81..841657b 100644 --- a/scripts/scene.js +++ b/scripts/scene.js @@ -1,5 +1,7 @@ // TODO: // - Support removal of images +// - Add adjustable slideshow speed +// - Add image fading let socket @@ -78,6 +80,9 @@ let pickWallpaper = () => { wallpaper = "https://picsum.photos/3840/2160" } setWallpaper(wallpaper) + setTimeout(() => { + pickWallpaper() + }, 30000) } let loadSocket = () => {