Jump to content

Galton box animation: Difference between revisions

→‎Perl 6: use an animated gif instead of a static screenshot.
(Perl 6 implementation of the Galton Box animation with unicode symbols on the terminal.)
(→‎Perl 6: use an animated gif instead of a static screenshot.)
Line 794:
 
=={{header|Perl 6}}==
[[File:Galton_Box_Perl_6Galton_box_perl6.pnggif|thumb|UPPER HALF BLOCK and LOWER HALF BLOCK alternate to give a somewhat smooth animation.]]
<lang Perl6>my $row-count = 6;
 
Line 941:
simulate($coins);
}</lang>
 
 
=={{header|PicoLisp}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.