Block Copolymer Nanoscale Self-Assembly (2D)
2D coarse-grained Langevin lab: tune the Flory-Huggins segregation strength (χN) and block fraction f to watch A/B diblock copolymer chains self-assemble into lamellae, cylinders, or spheres, with a live order parameter.
This 2D companion drives the same coarse-grained Langevin model of A-B diblock copolymer microphase separation as the 3D version, drawn as a flat plane of tethered beads so the domain patterns read clearly: push the segregation strength χN above the order-disorder threshold and A and B beads spontaneously separate into nanoscale stripes, cylinders or spots, while the block-fraction slider sets which morphology forms and a live order parameter reports how segregated the melt currently is.
2D coarse-grained Langevin dynamics for A-B diblock copolymer chains, with a Flory-Huggins-style pairwise repulsion scaled by χN and a live order-parameter / predicted-morphology readout.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install
chi*N is the Flory-Huggins segregation strength between the A and B blocks. Below about 10.5 (the order-disorder transition) the melt stays mixed; above it, A and B beads spontaneously separate into nanoscale domains even though each chain keeps them covalently bonded.
The fraction f of each chain that is A-type sets the natural curvature of the A-B interface. Near f=0.5 flat lamellae are favored; moving f toward either extreme favors curved interfaces, producing hexagonal cylinders and then spheres of the minority block.
It compares the fraction of nearby-bead contacts that are between unlike (A-B) types against what a fully random, well-mixed melt would produce at the same block fraction. 0% means the melt is still mixed; values near 100% indicate sharply segregated domains.