I recently discovered, quite by accident, that one can create apparent randomness in a script without using Math.random. It happened because I had created an unbalanced system. The script starts out sliding 6 images into 6 divisions using the same OO script. It is an OO adaptation of a slide in slide show so, the script continues to slide in images at the same regular interval for all divisions. However, I set up a check to make sure no other image was sliding whenever a particular one was about to, if it was, the new slide would be delayed 100ms and try again. The interval was 3000ms so I figured things would just go in order but, they do not always do so and after a while appear to become quite random. I'm not concerned about this as a problem, rather as an unexpected 'feature'. I am wondering if others have or have seen other examples of this randomness in scripts without using Math.random?



Reply With Quote



Bookmarks