2D Spring Simulator
A comprehensive 2D spring physics simulator that allows you to explore the behavior of a mass-spring system in two dimensions. Adjust parameters like mass, spring constant, damping, and initial conditions to see how they affect the motion. The simulation visualizes the spring force, velocity vectors, and motion trail while displaying real-time energy data. Perfect for understanding harmonic motion, energy conservation, and the effects of damping in mechanical systems.
2D Spring Simulator
Simulation Controls
Simulation Info
Spring Parameters
Initial Conditions
Motion Data
Energy vs. Time
Position & Velocity
Physics Explanation
2D Spring-Pendulum System: This simulation models a mass attached to a spring that can move in 2D space. The system combines both spring forces and gravitational forces, creating a pendulum effect.
Forces at Play:
- Spring Force (Hooke's Law): F = -k·x, where k is the spring constant and x is the displacement from rest length.
- Gravity: F = m·g, where m is mass and g is gravitational acceleration (9.8 m/s²).
- Damping: F = -c·v, where c is the damping coefficient and v is velocity.
Energy Dynamics: The system converts between kinetic energy, spring potential energy, and gravitational potential energy. Damping causes the total energy to decrease over time.
Pendulum Behavior: When gravity is enabled, the spring will naturally hang downward, and the mass will oscillate like a pendulum when displaced, with the spring's elasticity adding complexity to the motion.
About This Tool
Interactive 2D spring physics simulation demonstrating harmonic motion, energy conservation, and damping effects.
Tips & Features
- • Adjust mass, spring constant, and damping to see how they affect motion
- • Set different initial positions and velocities to explore various trajectories
- • Enable "Show Trail" to visualize the path of the mass
- • Watch energy conservation in real-time on the charts
- • Observe how damping gradually reduces the total energy of the system
- • Use fullscreen mode for a larger simulation view