View Single Post
  #3  
Old 07-27-2021, 01:00 PM
turinlife turinlife is offline
Registered User
 
Join Date: Jul 2021
Posts: 2
Display random images from a folder

Thank you so much!
It is also possible to display the image from a folder randomly without rename all the images in the folder?
an alternative solution for this 3 lines
Code:
r = list(range(7))
random.shuffle(r)
movieImages = viz.cycle( [ viz.addTexture('sequence_IMG/img%d.jpg' % i) for i in r ] )
Reply With Quote