Skip to main content

DNA Melting

A DNA duplex melting with temperature and salt: AT bubbles open first, GC regions hold, and the measured curve tracks the predicted Tm. Swap base pairs to retune it.

  • 21.5 KB .bexode
  • 10 live inputs
  • Responsive fit Layout
Live runtime

Use it

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

import { ExodeUICanvas } from 'exodeui';

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

Inputs

InputTypeDefaultRange
titleTextDNA Melting—
sequenceTextATATTAGCGCGCCGGCTATATAATTAGGCCGCGCTA—
tempNumber5520 – 100
saltNumber5010 – 1000
hbondsBooleantrue—
speedNumber10.1 – 3
accentText#5ee0ffhex colour
accent2Text#ff9b6ahex colour
bgText#06080bhex colour
textText#e6edf3hex colour