I need to get a really random numbers in a game I'm working on. The problem is that the Math.random() gets me exactly same result since it's based on timestamp and I'm using it to position game objects randomly and I need to get random positions instantly. Are there a better way than Math.random()?
https://github.com/suprMax/monkyTime/blob/master/static/monkytime.js#L201
Objects are positioned very close to each other. I tried to make it more random stealing high precision time from request anim frame but no avail.