Abelian sandpile model: Difference between revisions
→{{header|Ada}}
(Add Ada version) |
|||
Line 409:
</syntaxhighlight>
{{Output}}
[[File:Ada sandpile 555555 600.png|thumb|Output of ./abeliian_sandpile 555555 600 converted to PNG]]▼
The program produces a text dump of the grid for size < 16, and always
emits a `sandpile.ppm` graphics file.
▲[[File:Ada sandpile 555555 600.png|thumb|Output of ./abeliian_sandpile 555555 600 converted to PNG]]
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}}==
|