HomeBioinformaticsNeighbor-Joining Phylogenetic Tree Builder

Neighbor-Joining Phylogenetic Tree Builder

Watch the neighbor-joining algorithm build a real evolutionary tree step by step from a distance matrix: 3D radial layout, live Q-matrix joins, branch-length readouts, and adjustable taxon count.

Bioinformatics3DAdvanced60 FPS📱 Mobile-adapted
phylogenetics ↗ Open standalone

Phylogenetic trees are reconstructed from measurable distances between species — genetic divergence, morphological difference, or any other dissimilarity score — not observed directly. This simulator runs the real neighbor-joining algorithm on a live distance matrix: at each step it computes the Q-criterion across every pair of active lineages, joins the pair that minimizes it, derives the two branch lengths from the row-sum formula, and folds the new ancestral node back into the matrix for the next round. The result grows as a 3D radial tree in real time, with the taxa you set spinning out along evolving branches until a single root remains, exactly as a real molecular phylogenetics pipeline would build a tree from sequence-distance data.

⚙ Under the hood

Watch the real neighbor-joining algorithm build an evolutionary tree step by step from a distance matrix, growing a 3D radial tree with live Q-matrix joins and branch-length readouts.

phylogeneticsbioinformaticsevolutionary-treealgorithmsneighbor-joiningmolecular-biology

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

What did you find?

Add reproduction steps (optional)