An interactive, purely static Reinforcement Learning visualizer built with React. Master Markov Decision Processes, Value Iteration, and Q-Learning through real-time grid manipulation.
This app is designed to be deployed to static hosting providers.
- Push your code to a GitHub repository.
- Log in to the Cloudflare Dashboard.
- Navigate to Workers & Pages > Create application > Pages > Connect to Git.
- Select your repository.
- Use the following build settings:
- Framework preset: React (Vite) or None (manual)
- Build command:
npm run build - Build output directory:
dist - Root directory:
/
- Pin Node by committing
.nvmrc(this repo uses Node 22). - Click Save and Deploy.
- Go to your repository Settings > Pages.
- Under Build and deployment, select GitHub Actions.
- Choose the Static HTML or Vite starter workflow depending on your local build environment.
- React 19
- Lucide React (Icons)
- Recharts (Convergence visualization)
- Tailwind CSS (Styling)
- Algorithm Lab: Toggle between Value Iteration, Policy Iteration, and Q-Learning.
- Bellman Deep Dive: Expand the explorer to see the exact sum-of-expectations math for any state.
- Grid manipulation: Right-click to paint walls, traps, and goals.
- Purely Static: No backend or API keys required.