3,035 reputation
4 18


honeycomb decay

Mathematica can save time delays between frames together with animated GIF (look for "DisplayDurations" under options of GIF format). This in turn allowed me to produce exactly 28 frames for the decay of this honeycomb with 28 cells. Modelling radioactive decay, where for example time intervals between clicks on a Geiger counter are approximately exponentially distributed, I can simulate the delays (rounded and shifted to run from t1/100-th seconds with average value (t1+t0)/100-th seconds) as:

delays[{t1_, t0_}, n_] :=
 t1 + Round[
   RandomVariate[ExponentialDistribution[1/t0], n]]

I set t1=2 here. Most browser can't present a delay of 2/100-th seconds properly. Chrome can.

Top Tags (60)

Score 55
Posts 17
Posts % 23
Score 44
Posts 7
Score 42
Posts 5
Score 39
Posts 9
Score 33
Posts 6
Score 19
Posts 8

Top Posts (74) All Questions Answers | Votes Newest

View all questions and answers

Badges (22)

Silver 4


Bronze 18