Anonymous user
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). Some REXXes don't have this BIF.
The '''SCRSIZE.REX''' REXX program is included here ───► [[SCRSIZE.REX]].
The terminal size used for this display was '''64'''<small>x</small>'''96'''.
Line 2,946 ⟶ 2,944:
{{out|output|text= when the REXX program was "stopped" by using the inputs of <tt> , , 100 </tt> so as to freeze the program to capture a screenshot:}}
<pre>
▲ ·☼ step 100
·☼·
Line 2,953 ⟶ 2,950:
· ·☼·
· · ·☼· · ·
·
· · ·
· · · ·
· · ·
· · · ·
· · ·
· · · · ·
☼
☼
☼
☼
☼
☼
☼
☼
☼
☼
☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼▼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼▼
</pre>
{{out|output|text= when using the
<pre>
· step
· ·
Line 3,040 ⟶ 3,037:
· · · · · · · · · · · · · · ·
▲ ☼ ☼
☼ ☼▼
☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
☼ ☼ ☼ ☼
▲ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼
▲ ☼ ☼ ☼ ☼ ☼ ☼
▲ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
▲ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼ ☼
</pre>
|