10/27/2008

10-27-08 - 1

Oh duh. I just realized there's a much better way to cycle through the images in cbsaver. I should just enumerate all the images at startup, then do a random permutation of the whole set, and then just step through that list in a straight line. That gaurantees that you see every image once before you repeat, which is pretty much exactly what you want for this kind of random slideshow.

The only nagging imperfection with that is that it rebuilds the list each time it runs. I'd like the permutation to be persistent across runs. One cheezy way to accomplish that would be using the last access time.

No comments:

old rants