This is a Matter.js physics simulation of a ball pool, now using Vite for development with hot reloading capabilities.
- Interactive physics simulation with Matter.js
- Debug mode toggle
- Create balls by clicking
- Create multiple balls by holding Ctrl + left mouse button
- Responsive design that adapts to window size
To start the development server with hot reloading:
npm run dev
To build for production:
npm run build
To preview the production build:
npm run preview