Anonymous user
Abelian sandpile model: Difference between revisions
no edit summary
imported>Chinhouse No edit summary |
imported>Chinhouse No edit summary |
||
Line 2,532:
color.purple, color.blue, color.navy]
rows =
cols =
particlesOfSand = rows * cols
divBase = particlesOfSand / (colors.len - 4)
Line 2,572:
display(4).mode = displayMode.tile
td = display(4)
td.cellSize =
td.extent = [cols, rows]
td.overlap = 0 // adds a small gap between cells
Line 2,605:
key.get()
</syntaxhighlight>
[[File:
=={{header|Nim}}==
|