Hi @steven,
Pretty much everything listed you need by @glv.
Maybe some meta description…
On start
Create an array with available images.
Initialize variables for currentImageindex and nextUpdateTime with suitable values
On draw loop
check if currentTime >= nextUpdateTime
If true
increment currentImageindex mod size of image array
add interval to nextUpdateTime
set background using currentImageIndex on available images
Cheers
— mnse