Green flag to initialize. Spacebar to make the thunderstorm begin
This time I was so amazed by @Mattioli2 animation of the lightnings (animation is the type of Scratch project I like most) that I decided to remix it. Basically, when I saw the project and played with it I got tired at pressing the spacebar because I'm very lazy so I decided to automate it: I wanted to press the spacebar just once and enjoy the thunderstorm. But how? How long should I wait between two thunderstorm? As Emiliano said in the original project, there's no such thing as randomness involved in the process, but randomness is indeed a good way to model it. Events like lightnings follow more or less a random distribution that is called Poissonian (https://ui.adsabs.harvard.edu/abs/2002JASTP..64.1645P/abstract https://en.wikipedia.org/wiki/Poisson_distribution) and from this the distribution of times between events is exponential. So my remix was just adding a slider to control the frequency of lightnings to get a Poisson distribution