Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 600 Bytes

File metadata and controls

35 lines (23 loc) · 600 Bytes

Matter.js Ball Pool with Vite

This is a Matter.js physics simulation of a ball pool, now using Vite for development with hot reloading capabilities.

Features

  • 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

Development

To start the development server with hot reloading:

npm run dev

Build

To build for production:

npm run build

Preview

To preview the production build:

npm run preview