You are reading a single comment by @AlexOwen and its replies. Click here to read the full conversation.
  • I've found that this bit of code is just about good enough for me for the time being:

    var getRandom = function() {
      var r = getTime() * 10000;
      r -= parseInt(r);
      return r;
    };
    
    

    It gives a pseudo-random number due to the granularity of the timer.

About

Avatar for AlexOwen @AlexOwen started