by froggerplayer · 9y ago · 0 comments
The above program was implemented in iKe, a browser-based livecoding environment I built on top of my interpreter:
https://github.com/JohnEarnest/ok/tree/gh-pages/ike
The concision and flexibility of K is a huge boon for this kind of interactive development. I wrote my simulation in a few minutes, and most of that time was spent deciding how I wanted to draw my histograms.
If you have any more specific questions I'd be happy to try to answer them.