MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-578533.py

File recipe-578533.py

recipes/Python/578533_GravnerGriffeath_Snowflake/recipe-578533.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Gravner-Griffeath Snowflake Simulation
2# http://psoup.math.wisc.edu/Snowfakes.htm
3# "A typical simulated crystal reaches a final diameter of 400-600 cells
4# over 10,000-100,000 updates (growth steps)..."

Callers

nothing calls this directly

Calls 12

rangeFunction · 0.85
strFunction · 0.85
isBoundaryFunction · 0.85
difMassFunction · 0.85
numIceFunction · 0.85
sinMethod · 0.80
cosMethod · 0.80
newMethod · 0.45
loadMethod · 0.45
randomMethod · 0.45
sqrtMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected