HomeMolecular BiologyDNA Double Helix

🧬 DNA Double Helix

Interactive 3D DNA double helix simulation. Visualise base pairs (A-T, G-C), sugar-phosphate backbones and the antiparallel structure. Adjust base-pair count, helix radius, twist and rotation speed.

Molecular Biology3DEasy60 FPS
dna-helix ↗ Open standalone

About this simulation

This interactive 3D model renders a B-form DNA double helix entirely in your browser using WebGL shaders. Two sugar-phosphate backbones coil in antiparallel directions — one running 5′→3′, the other 3′→5′ — held together by hydrogen-bonded base pairs spanning the interior like rungs on a ladder. Each coloured rung shows a complementary pair: Adenine (A) always bonds with Thymine (T) via 2 hydrogen bonds, while Guanine (G) always bonds with Cytosine (C) via 3, following the Watson-Crick-Franklin model published in 1953.

🔬 What it shows

The simulation renders up to 60 base pairs with accurate antiparallel strand geometry. The stat panel calculates the real-world approximate length using the canonical 0.34 nm rise per base pair and the standard ~10.5 base pairs per full helical turn. Backbone strands are cyan and indigo; base-pair rungs are colour-coded by nucleotide identity in the default "By base" mode.

🎮 How to use

Drag to orbit; scroll to zoom. Use the Base pairs slider (10–60) to grow or shorten the molecule. Helix radius and Turns let you distort the geometry to see how pitch and diameter are related. Crank Rotation speed to zero to freeze the helix, or try Rainbow colour mode for a height-gradient view. Hit Randomise sequence to shuffle the nucleotide order and watch the rung colours change instantly.

💡 Did you know?

Real human DNA contains roughly 3.2 billion base pairs per haploid genome, totalling about 2 metres of double helix packed into a nucleus just 6 µm across. The information content is encoded entirely in the sequence of A, T, G, C bases — the backbone is structurally identical along the entire molecule. The three-bond G-C pair is slightly stronger than A-T, which is why G-C-rich regions resist thermal denaturation at higher temperatures.

Frequently asked questions

Why are the two DNA strands described as "antiparallel"?

Each strand has a chemical directionality defined by its sugar-phosphate backbone: one end has a free 5′ phosphate group, the other a free 3′ hydroxyl. In the double helix the two strands run in opposite directions — one 5′→3′ upward, the other 5′→3′ downward. This antiparallel arrangement is required for the complementary bases to face inward and form hydrogen bonds at the correct geometry. You can visualise it here by noting that both backbone chains spiral in the same rotational sense but are offset by half a turn (π radians), placing each backbone node directly opposite its partner.

What controls the number of base pairs per helical turn?

In the canonical B-form helix found in most cells under physiological conditions, there are approximately 10.5 base pairs per full 360° turn, giving a helical pitch of about 3.57 nm (10.5 × 0.34 nm). This number is not fixed: torsional stress introduced by topoisomerases or proteins can overwound or underwound DNA, changing the twist. In the simulator the Turns slider lets you freely explore different twist densities — try setting 60 base pairs and 6 turns to approximate the real B-form ratio, or reduce turns to model an underwound, open state.

Why does G-C pairing involve 3 hydrogen bonds while A-T uses only 2?

The chemical structures of guanine and cytosine each present three complementary donor/acceptor sites when aligned in the Watson-Crick geometry: a donor-acceptor-donor pattern on one base perfectly matches an acceptor-donor-acceptor arrangement on the other, forming three hydrogen bonds. Adenine and thymine can only align two compatible sites. The extra bond makes G-C pairs roughly 30–40% stronger, so DNA regions rich in G-C require more energy — and higher temperature — to separate the strands, a property exploited in PCR primer design and genome stability analysis.

What does the "Randomise sequence" button actually change?

Clicking Randomise sequence generates a new random array of A, T, G, C bases for strand 1, then automatically assigns each position's complement (A↔T, G↔C) to strand 2, preserving strict base-pairing rules. The 3D geometry of the backbone is unchanged — only the colour-coded rung identities update. In "By base" colour mode you will immediately see the new distribution of red (A), green (T), blue (G), and yellow (C) rungs. Switching to Rainbow or Mono mode hides the base colours so you can study helical geometry without the sequence colouring.

How accurate is the scale shown in the stats panel?

The simulator uses the real biochemical value of 0.34 nm per base pair to calculate the "Approx length" figure in the stats panel, so for 30 base pairs it correctly reports 10.2 nm — consistent with crystallographic data for B-form DNA. The 3D rendering is scaled up for visibility (approximately 3× the physical size), so the on-screen model is not proportional to the actual molecule; the stat readout is. The helix radius in real B-DNA is about 1 nm, so the default slider value of 1.0 provides a reasonable starting approximation of the true diameter.

About DNA Double Helix

This simulation visualises the B-form DNA double helix — the molecule that carries genetic information in all living cells. Two sugar-phosphate backbone strands coil around a central axis in antiparallel directions, held together by complementary base pairs (Adenine-Thymine and Guanine-Cytosine) that span the interior like rungs on a twisted ladder. Users can adjust the number of base pairs, helix radius, twist density, and rotation speed to explore how molecular geometry relates to real biochemical properties.

DNA was first crystallised and structurally characterised in the early 1950s, culminating in the Watson-Crick-Franklin model published in Nature in April 1953. Understanding the double helix underpins modern molecular biology, genetic medicine, forensic science, and biotechnology industries worth hundreds of billions of dollars annually.

Frequently Asked Questions

What is a DNA double helix?

A DNA double helix is a three-dimensional structure formed by two complementary strands of deoxyribonucleic acid wound around a common axis. Each strand consists of a sugar-phosphate backbone with one of four nitrogenous bases — Adenine (A), Thymine (T), Guanine (G), or Cytosine (C) — projecting inward. The two strands are held together by hydrogen bonds between complementary base pairs: A always pairs with T, and G always pairs with C.

How do I interact with this simulation?

Drag with your mouse or finger to orbit the helix in 3D, and scroll or pinch to zoom in and out. Use the Base pairs slider (10-60) to grow or shorten the molecule, the Helix radius and Turns sliders to distort the geometry, and the Rotation speed slider to freeze or accelerate the spin. Switch colour modes between By base (nucleotide identity), Rainbow (height gradient), and Mono (uniform cyan), and press Randomise sequence to generate a new random nucleotide order.

What does the rise per base pair of 0.34 nm mean?

In B-form DNA — the conformation found in cells under normal physiological conditions — each successive base pair is displaced 0.34 nanometres along the helix axis. This is a precisely measured crystallographic constant. The simulator uses this value directly: the Approx length readout in the stats panel equals the number of base pairs multiplied by 0.34 nm, so 30 base pairs correctly displays 10.2 nm. The 3D model is scaled up roughly three-fold for on-screen visibility.

What is the mathematical structure of a double helix?

Each backbone strand follows a parametric helix described by x(t) = r cos(t), y(t) = t * (pitch / 2pi), z(t) = r sin(t), where r is the helix radius and pitch is the rise per full turn (approximately 3.57 nm for B-DNA at 10.5 base pairs per turn). The two strands are related by a rotation of pi radians (180 degrees) around the helix axis, placing each backbone node directly opposite its partner. This antiparallel, half-turn offset geometry means the major and minor grooves — regions of different widths between the backbone strands — alternate around the helix, a feature critically important for protein-DNA recognition.

Where is DNA found and how is it stored in cells?

In eukaryotic cells (plants, animals, fungi), DNA is stored in the nucleus, mitochondria, and chloroplasts. The human haploid genome contains approximately 3.2 billion base pairs totalling about 2 metres of double helix, all packed into a nucleus roughly 6 micrometres in diameter. This extraordinary compaction is achieved by wrapping DNA around histone protein spools (nucleosomes), coiling nucleosomes into 30 nm fibres, and further looping and folding into chromosomes. Prokaryotes such as bacteria carry a single circular chromosome in the cytoplasm without a nucleus.

Is it true that A always pairs with T and G always pairs with C?

Yes — this is Chargaff's rule, confirmed by the Watson-Crick model, and it holds universally in double-stranded DNA. Adenine and thymine share two hydrogen bonds in the Watson-Crick geometry; guanine and cytosine share three. The shapes and hydrogen-bond donor-acceptor patterns of the bases physically prevent mismatches: A cannot form stable bonds with G or C in the standard geometry, which is why the pairing is described as complementary. This rule is the molecular basis of DNA replication fidelity — each strand serves as an exact template for synthesising its complement.

Who discovered the structure of DNA and when?

The double helix structure was published by James Watson and Francis Crick on 25 April 1953 in Nature, with a landmark companion paper by Rosalind Franklin and Raymond Gosling presenting the X-ray crystallography data that made the model possible. Franklin's Photo 51 — an X-ray diffraction image of the B-form helix — provided crucial measurements of the helix dimensions and the antiparallel strand arrangement. Watson, Crick, and Maurice Wilkins received the Nobel Prize in Physiology or Medicine in 1962; Franklin had died in 1958 and Nobel rules precluded a posthumous award.

What other molecular structures are related to the DNA helix?

RNA (ribonucleic acid) forms similar helical structures but is typically single-stranded and adopts an A-form helix when double-stranded, with a wider, shorter geometry than B-DNA. DNA itself can adopt A-form (in dehydrated conditions) and Z-form (left-handed helix, in alternating GC sequences under high salt). Triple-stranded DNA (triplex) and four-stranded G-quadruplex structures exist in telomeres and gene promoters. Proteins such as alpha-helices and collagen triple helices share the mathematical helical geometry but at a peptide rather than nucleotide level.

How is DNA helix structure used in technology and medicine?

The double helix is exploited in PCR (polymerase chain reaction), which uses thermal denaturation to separate strands and enzymatic synthesis to copy them billions of times — the basis of COVID-19 tests, forensic DNA profiling, and genetic research. CRISPR-Cas9 gene editing requires precise recognition of a specific DNA sequence within the helix. DNA nanotechnology uses programmable base-pairing to fold DNA strands into precise 2D and 3D nanostructures (DNA origami) for drug delivery and nanoscale fabrication. Long-read DNA sequencing technologies (Oxford Nanopore) thread single helix molecules through protein pores to read the sequence electrically.

What are current frontiers in DNA helix research?

Researchers are mapping the three-dimensional organisation of DNA inside living nuclei at nanometre resolution using Hi-C chromosome capture and cryo-electron tomography, revealing how genome folding regulates gene expression. Epigenetic modifications — chemical tags on bases (5-methylcytosine) and histones — alter helix accessibility without changing the sequence, and understanding their inheritance is a major open question. Synthetic biology groups are expanding the genetic alphabet beyond A/T/G/C with unnatural base pairs that form stable helices, opening the door to proteins with novel amino acids. Liquid-phase DNA data storage — encoding digital files in nucleotide sequences — is under active development as an archival medium with thousand-year stability.

⚙ Under the hood

A rotating DNA double helix — two backbones and coloured A-T, G-C base pairs. Randomise the sequence.

Three.jsGLSLWebGLInstancedMeshDNA

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)