Home▸Blockchain Drug Supply Chain Verification▸Merkle Tree Batch Verification (2D)

Merkle Tree Batch Verification (2D)

2D companion to the 3D Merkle tree simulator: the same FNV-1a batch ledger, tamper cascade and O(log n) proof path vs. O(n) full re-scan, drawn as a flat interactive tree diagram.

Blockchain Drug Supply Chain Verification2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-medicine-topic-15 ↗ Open standalone

This is the 2D counterpart to the 3D Merkle tree scene: the identical batch-ledger model, hashed with a genuine FNV-1a mix across 4, 8 or 16 drug-batch records, drawn as a flat interactive tree diagram instead of a rendered cube grid. Tamper with any one batch and watch the avalanche effect pulse up the ancestor chain while every untouched node stays put; toggle the Merkle proof view to see how a verifier confirms a single batch's authenticity by checking just log₂(n) sibling hashes instead of re-hashing the entire ledger.

⚙ Under the hood

2D companion to the 3D Merkle tree simulator: the same FNV-1a batch ledger, tamper cascade and O(log n) proof path vs. O(n) full re-scan, drawn as a flat interactive tree diagram.

Merkle treeblockchainhash functionsupply chaincryptographic proofdata integrity

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

What did you find?

Add reproduction steps (optional)