Microcapsule Rupture: Weibull Probability Plot

This is the 2D companion to the 3D self-healing-microcapsule rupture visualizer, computed independently rather than derived from its 3D scene. Rather than watching individual capsule spheres burst in a translucent matrix block, it renders the population's fracture statistics directly as two synchronized, genuinely 2D-native plots: a strength-density histogram of the batch's Weibull-sampled critical stresses, and a linearized Weibull probability plot — the log(−log(1−F)) vs log(σ) diagnostic real fracture engineers use to read a modulus m and characteristic strength σ0 straight off a straight line. A live least-squares fit to the sampled batch is drawn alongside the analytic curve built from the slider values, so you can watch a finite sample of roughly 400 capsules converge toward — or scatter away from — the population it was drawn from. The applied-stress ramp, the irreversible rupture rule, and the released healing-agent volume tally all use the same Weibull weakest-link mathematics as the 3D version.