1

DNA Double Helix

Watson-Crick B-DNA molecular structure modeled as dual out-of-phase intertwined 3D parametric helices connected by complementary hydrogen-bonded nucleotide rungs.

Playground
60 FPS Canvas 2D
Click + Drag to interact with field

Live Parameters

Axial Spin Speed 1
Molecular helical revolution rate
Strand Major Radius 85
Sugar-phosphate backbone width
ƒ

Mathematical Formulation

94 chars medium
Analytical Equation
\mathbf{r}_1(z) = \begin{bmatrix} R \cos(\omega z + t) \\ R \sin(\omega z + t) \\ z \end{bmatrix}, \quad \mathbf{r}_2(z) = \begin{bmatrix} R \cos(\omega z + \pi + t) \\ R \sin(\omega z + \pi + t) \\ z \end{bmatrix}
Compact Formula
strand1 = [R cos(4πy + 2t), y], strand2 = [R cos(4πy + π + 2t), y], base_rung = line(s1, s2)
Renderer Logic
const theta = normY * Math.PI * 4 + t * 2;
const x1 = Math.cos(theta) * helixRadius;
const x2 = Math.cos(theta + Math.PI) * helixRadius;
ctx.moveTo(cx + x1, py1);
ctx.lineTo(cx + x2, py2);
Open in Playground Zero Dependencies • Standalone

Mathematical Tags

#dna #genetics #helix #anatomy #biology #3d #molecular
Author: Math Art Core Target: 60 FPS

Export & Embed: DNA Double Helix

4K PNG Snapshot

High-resolution single frame render

WebM Video (5s Loop)

60 FPS browser-captured stream

HTML Iframe Embed

<iframe src="https://art.fazleyrabbi.xyz/embed/dna-double-helix" width="500" height="500" frameborder="0" loading="lazy"></iframe>
ESC
↑↓ Navigate Select
25 Mathematical Artworks