Abelian sandpile model: Difference between revisions
Content added Content deleted
(Add Ada version) |
|||
Line 409: | Line 409: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{Output}} |
{{Output}} |
||
⚫ | |||
The program produces a text dump of the grid for size < 16, and always |
The program produces a text dump of the grid for size < 16, and always |
||
emits a `sandpile.ppm` graphics file. |
emits a `sandpile.ppm` graphics file. |
||
⚫ | |||
Here is the graphical output from running with 555555 grains at a grid size of 600. (Converted to PNG from the output PPM with GIMP.) |
|||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |