2,630 reputation
216
bio website mathani.tumblr.com
location
age
visits member for 1 year, 9 months
seen Nov 6 at 15:42

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.


Oct
17
accepted RegionMember with some tolerance?
Jul
31
accepted FindRoot equation-variable mismatch
May
17
accepted NDSolve with vector function
Apr
17
accepted I can't use PatternSequence with Cases
Apr
11
accepted WhenEvent in NDSolve
Mar
25
accepted Equidistant points on a polyline