Galton box animation: Difference between revisions

m
→‎{{header|J}}: don't wrap
(→‎{{header|Zig}}: Works with latest compiler. Lots of possible improvements)
m (→‎{{header|J}}: don't wrap)
Line 1,609:
Or, showing an entire animation sequence:
 
<syntaxhighlightpre langstyle="joverflow-x: scroll; white-space: pre; width: 100%"> nxt&.>^:a: <7 (init ' ',.' ',.~ initpins) 5
┌─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────┐
│ o │ │ │ │ │ │ │ │ │ │ │ │ │ │
Line 1,625:
│ * * * * * │ * * * * * │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │
└─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┴─────────────┘</syntaxhighlightpre>
 
=={{header|Java}}==
6,962

edits