Why a smooth decay curve comes from random atoms
Start 1,000 identical unstable atoms at the same moment. They do not carry timers set to 5,730 years or 8.0252 days. Each nucleus has the same chance to decay during the next short interval, and the ones that survive face the same chance again. One atom may decay almost immediately while another lasts for several half-lives.
The surprise is what happens when those independent events are counted as a group. The expected amount follows N = N0 × (1/2)t/T, where T is the half-life. At t = T, the exponent is 1 and one half remains. At t = 2T, the exponent is 2 and one quarter remains. The solid curve in the simulator draws those expected values without randomness.
The dashed line asks every surviving atom to make a random decay decision 24 times per half-life. The chance on each check is about 2.847%. That may look too small, but surviving a whole half-life means avoiding the event 24 times. The probability of doing that is exactly 50%. The model is therefore not forcing half the atoms to disappear at the boundary; it is using small independent chances that produce one-half survival on average.
With only 50 atoms, a difference of five atoms is 10 percentage points, so the dashed line can look rough. With 5,000 atoms, the same five-atom difference is only 0.1 percentage point. Large groups reveal the smooth curve because early and late decays balance one another more closely.