Skip to content

saitodisse/matter-js-experiments

Repository files navigation

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

About

Matter.JS experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published