Every time the green flag is clicked, it generates once.
Easter egg info: If you get 666, you may have to reload the page to keep going. Cheat Codes: https://scratch.mit.edu/projects/453934832/