Home▸Molecular Biology▸Protein Conformational Search: 2D HP-Lattice Monte Carlo

Protein Conformational Search: 2D HP-Lattice Monte Carlo

2D companion to the 3D protein-folding lab: a polypeptide is reduced to a self-avoiding walk on a square lattice (Dill's HP model) and searched with pivot-move Metropolis Monte Carlo — tune temperature, hydrophobic strength and a chaperone bias and watch the energy landscape get explored live.

Molecular Biology2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-protein-conformational-search ↗ Open standalone

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.

⚙ Under the hood

2D HP-lattice protein model with pivot-move Metropolis Monte Carlo, a live energy-history chart and a rolling acceptance-rate readout, showing the conformational search converging toward a compact hydrophobic core in real time.

protein foldinghp lattice modelmonte carlometropolis algorithmconformational searchenergy landscape

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)