Hydrophobic (H)
Polar (P)
Energy history
This 2D companion trades the 3D version's continuous molecular-dynamics chain for a coarse-grained lattice model that makes the conformational search itself legible: a 20-residue hydrophobic/polar sequence walks a square grid, a pivot-move Metropolis algorithm proposes rotations and accepts or rejects them from a live Boltzmann test, and a side panel exposes temperature, hydrophobic strength, a chaperone-style bias term and search speed alongside a running readout of the current, best-found and accepted-move statistics — plus an energy-history strip so you can watch the search anneal toward a compact hydrophobic core instead of just seeing the end state.