Playground

This page runs aniate 2.1.0 in the browser through Pyodide, a build of Python for WebAssembly, and no code leaves the page. The first start downloads Python, numpy, scipy and matplotlib, which takes several seconds; later runs begin at once. The last expression of a program is displayed as a table, as in a Jupyter notebook, and every figure the program creates is drawn below its output.

A five-state corridor: solve it, simulate 10,000 episodes and draw the four standard plots.

Python starts when this page opens.
© 2026 Kabir Murjani. MIT Licence.