0) I didn't try your program---maybe it already does...
1)  Consider east-west gravity for extra space?
2)  Scale histogram bars so longest uses full extent.
3)  this let's the user drop a million balls.
4)  after which we'll (probably) have a most beautiful normal curve.

        Date: Tue, 15 Nov 2011 22:48:10 +1300
        From: Ric Sherlock <[email protected]>
        Subject: [Jprogramming] Animation ideas for Galton Box
        To: Programming forum <[email protected]>
        Message-ID:
        
        <CAOoUVu_aVnhNrWZbKWs51npXcihcUfaqvZoV0LcSpseoPX=n...@mail.gmail.com>
        Content-Type: text/plain; charset=ISO-8859-1
        
        I have made a start on the following RosettaCode problem:
        http://rosettacode.org/wiki/Galton_box_animation
        
        Does anyone have ideas on how to improve the current ASCII
        "animation"?
        Other suggestioned improvements are welcome.
        Feel free to come up with totally different solutions too.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to