2,488 reputation
213
bio website mathani.tumblr.com
location
age
visits member for 1 year
seen Apr 14 at 16:16

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.


Mar
24
awarded  Yearling
Jun
11
awarded  Nice Question
Jun
10
awarded  Nice Answer
Jun
2
awarded  Organizer
May
28
awarded  Nice Answer
May
13
awarded  Enlightened
May
13
awarded  Nice Answer
Apr
17
awarded  Critic
Mar
29
awarded  Editor
Mar
29
awarded  Commentator
Mar
25
awarded  Scholar
Mar
25
awarded  Nice Question
Mar
24
awarded  Supporter
Mar
24
awarded  Student
Mar
24
awarded  Teacher