Home▸Machine Learning & Neural Networks▸Smith-Waterman Local Alignment: Scoring Matrix and Traceback (2D)

Smith-Waterman Local Alignment: Scoring Matrix and Traceback (2D)

A heat map of the Smith-Waterman matrix for two toy DNA sequences, filled cell by cell, with the optimal local alignment traced back and printed. The same shared model as the 3D scene, with scoring sliders, a gap sweep, a shuffle null and numerical checks.

Machine Learning & Neural Networks2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Smith-Waterman Local Alignment: Scoring Matrix and Traceback (2D) ↗ Open standalone

Align two DNA sequences with the Smith-Waterman dynamic program. Watch the scoring matrix H fill as a field of towers, see the best local alignment traced back as a glowing path, and change match, mismatch and gap scores to see how homology is found or lost. A shuffle test shows how far above chance the score stands. Blender-built plinth and sample tubes, with numerical checks built in.

⚙ Under the hood

A heat map of the Smith-Waterman matrix for two toy DNA sequences, filled cell by cell, with the optimal local alignment traced back and printed. The same shared model as the 3D scene, with scoring sliders, a gap sweep, a shuffle null and numerical checks.

Smith-WatermanSequence AlignmentDynamic ProgrammingBioinformaticsDNA

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

What did you find?

Add reproduction steps (optional)