Skip to main content

Protein Folding

A hydrophobic-polar protein chain folding by Langevin dynamics. Set temperature and hydrophobic strength, anneal it, pull residues, and track energy and radius of gyration.

  • 21.4 KB .bexode
  • 9 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// sci-protein-folding.bexode goes in /public (download it below)
export function SciProteinFolding() {
  return (
    <ExodeUICanvas
      src="/sci-protein-folding.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
titleTextProtein Folding—
sequenceTextHPHPPHHPHPPHPHHPPHPH—
tempNumber0.60.1 – 2
hstrengthNumber10.2 – 2.5
speedNumber10.1 – 3
accentText#5ee0ffhex colour
accent2Text#ffc35chex colour
bgText#06080bhex colour
textText#e6edf3hex colour