This simulation demonstrates the hysteresis effect in a V-shaped spring-mass system based on the work of Christopher Ong. For more details, you can refer to the original paper.
Hysteresis occurs when the path of deformation and recovery of the spring-mass system differ, leading to energy loss typically as heat.
The simulation models the forces acting on the mass, including spring forces, damping, external force, and gravity.