Crystal Lattice Stress-Strain Simulator
A 2D lattice of atoms held together by springs, pulled or compressed under a real mass-spring physics engine. Watch elastic deformation give way to plastic bond slip past the yield point and fracture at the ultimate strength, with a live stress-strain curve.
A 2D grid of atoms is held together by real spring bonds — nearest-neighbor and diagonal — and stretched or compressed by displacing its right edge while the left edge stays fixed, exactly like a tensile-test machine gripping a coupon. Every frame, a mass-spring physics solver relaxes the whole lattice toward mechanical equilibrium, so the visible stretching, plastic slip and eventual fracture all emerge from the bonds themselves rather than a pre-scripted animation. A live stress-strain plot traces the sample's actual path through the elastic, plastic and fracture regions as you pull it, and switching material presets changes the underlying stiffness, yield strain and fracture strain to show how a ductile metal, a brittle ceramic and a polymer each fail differently.
Explore how stress-strain curves evolve in crystal lattices under tension or compression. Observe elastic, plastic, and fracture behaviors in ductile metals, brittle ceramics, and polymers.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install