- Two particles are displayed on a canvas, represented by circles.
- Four sliders control the system’s properties:
- Mass of Particle 1 (1 to 10 kg)
- Mass of Particle 2 (1 to 10 kg)
- Position of Particle 1 (0 to 600 on the x-axis)
- Position of Particle 2 (0 to 600 on the x-axis)
- The particles’ masses and positions are displayed below their respective sliders.
- The calculated Center of Mass is shown at the bottom of the game.
The game continuously updates to show:
- The particles’ positions and sizes (size represents mass) on the screen.
- A green vertical dashed line indicating the position of the center of mass.
- Real-time changes in mass and position as the sliders are adjusted.
- Instant calculation and display of the Center of Mass based on the current masses and positions.
Key learning aspects of this game:
- Visual representation of how particle masses affect the center of mass.
- Demonstration of how particle positions influence the center of mass.
- Real-time calculation of the center of mass using the formula: (m1x1 + m2x2) / (m1 + m2).
- Interactive experimentation with different mass and position combinations.
Center of Mass: Two-Particle System
5 kg
5 kg
150
450