2D Wulff Construction: Equilibrium Nanocrystal Facet Shape

Real crystal cross-sections are not circles — they facet into squares, diamonds and octagons because the crystal minimises total edge energy for a given enclosed area. This simulator builds the exact two-dimensional Wulff construction from two competing edge families, {10} and {11}, letting you set each one's relative edge energy and watch the equilibrium polygon morph continuously between diamond, octagon and square, with live perimeter-fraction and total-edge-energy readouts that make the underlying energy minimisation visible in real time.