HomeAlgorithms & AIBloom Filter: Probabilistic Set Membership

Bloom Filter: Probabilistic Set Membership

Interactive 3D Bloom filter: insert words into a bit-array ring using k independent hash functions, query membership, and watch the false-positive rate climb exactly as the theoretical formula predicts.

Algorithms & AI3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
hashing-and-uses ↗ Open standalone

A Bloom filter answers "have I seen this before?" using a fixed-size bit array and several independent hash functions, trading a small, tunable chance of false positives for constant-time inserts and queries with no false negatives ever. This simulator renders the bit array as a ring of spheres in 3D — insert words to watch k hash functions light up bits across the ring, query any word to see whether the filter reports it present, and run a batch of false-positive trials to compare the measured error rate against the exact theoretical formula that governs every real Bloom filter in production.

⚙ Under the hood

Insert words into a 3D bit-array ring using k independent hash functions, query membership, and watch the measured false-positive rate track the exact theoretical Bloom filter formula.

hashingbloom-filterdata-structuresprobabilityhash-functions

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

What did you find?

Add reproduction steps (optional)