jeudi 17 juin 2021

How did the random() function first originate

How did the random() function first originate? First I thought about noise values, but that itself uses random(). It would be preferred if the question could be answered in either p5.js or javascript. According to my current knowledge, all functions such as: mousePressed() or even fill() are created the same way you create functions in your editor, and they are already predefined so you don't have to write it itself. With this logic, how would one recreate true randomness without using anything that has any randomness characteristics?




Aucun commentaire:

Enregistrer un commentaire