Galton box animation: Difference between revisions

m
→‎{{header|REXX}}: refreshed the output.
(→‎{{header|REXX}}: added code to automatically freeze the REXX program to enable to capture a point in time (for a screenshot); also changed wording in the REXX section header.)
m (→‎{{header|REXX}}: refreshed the output.)
Line 2,936:
This REXX program makes use of   '''SCRSIZE'''   REXX program (or
BIF) which is used to determine the screen
<br>width and depth of the terminal (console). &nbsp; Some REXXes don't have this BIF.
have this BIF.
 
The &nbsp; '''SCRSIZE.REX''' &nbsp; REXX program is included here &nbsp; ───► &nbsp; [[SCRSIZE.REX]].
here &nbsp; ───► &nbsp; [[SCRSIZE.REX]].
 
The terminal size used for this display was &nbsp; '''64'''<small>x</small>'''96'''.
Line 2,946 ⟶ 2,944:
{{out|output|text=&nbsp; when the REXX program was "stopped" by using the inputs of &nbsp; &nbsp; <tt> , , 100 </tt> &nbsp; so as to freeze the program to capture a screenshot:}}
<pre>
·· step 100
 
·☼ step 100
 
·☼·
Line 2,953 ⟶ 2,950:
· ·☼·
 
·☼· ·☼· ·
 
· · · · ·
 
· · ·☼· · ·
 
· · · · · · ·
 
· · · ·☼· ·☼· · ·
 
· · · · ·☼· · ·☼· ·
 
· · · · · · · · · ·
 
· · · · · · · · · · ·
 
· · · · ·☼· · · · · · · ·
 
· · · · · · · · · · · · ·
 
· · · · · ·☼· · ·☼· · · · · ·
 
· · · · · · · ·☼· · · · · · · ·
 
 
 
 
 
 
 
 
 
 
 
 
 
 
☼ ☼
☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
</pre>
{{out|output|text=&nbsp; when using the defaultabove inputs; &nbsp; this is the final screenshot:}}
<pre>
· step 353350
 
· ·
Line 3,040 ⟶ 3,037:
· · · · · · · · · · · · · · ·
 
☼ ☼
☼ ☼
☼ ☼
☼ ☼
☼ ☼
☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
</pre>