jeudi 13 octobre 2016

Scatter numbers

In Javascript, is it possible to create a set of coordinates on load that are distributed (seemingly) randomly, without using random() ?

If I wanted to create say, a starry sky, but have the same positions on each load, how would I do that without inputting the coordinates of each star?

I use the word scatter as it seems the most apt.

Thanks




Aucun commentaire:

Enregistrer un commentaire