A physics simulation app built using Matter.js. The app provides a simple interface for manipulating physics simulations with customizable settings and interactive features.
- Allows users to adjust the gravitational force in the simulation.
- Gravity can be modified in both the X and Y axes for more customized simulations.
- Users can generate multiple particles at once by specifying a quantity and randomizing their properties (position, size, velocity).
- Great for testing large-scale particle systems or visual effects.
- Users can create not just circles, but also squares.
- These shapes can be dynamically resized and placed in the simulation.
- Allows users to revert any unwanted changes or actions.
- Simulation canvas is responsive to resizing.
- The app is fully optimized for mobile devices, providing a smooth and responsive experience.
- Matter.js: A 2D physics engine for the web, used for collision detection, gravity, and object interactions.
- TypeScript: The app is built with TypeScript, providing strong typing and enhanced development experience.
- Save and Load Simulation: Save the current state of the simulation and load it later.
- Particle Interaction Settings: Adjust properties like friction, restitution (bounciness), and density for each particle.