So, I'm making a graphic, and I want to be placing things onto the canvas using a function, and a scale number. The scale number should be a random number between 0 and 0.03. So, I need to know how to make it so that a long decimal can be shortened so the random numbers that Math.random generates will be shorter.
Aucun commentaire:
Enregistrer un commentaire