Document
Top-K match
Query vector
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.
Type a query and this simulator runs the exact pipeline behind classical text-mining and search-engine retrieval: tokenize the query, weight each term with TF-IDF (or plain term frequency), and rank a fixed corpus of ten documents by cosine similarity in a ~51-dimensional vocabulary space. A 3D scene projects every document and the live query into a spherical Fibonacci lattice so you can watch clusters of topically related documents pull the query point toward them, while the ranked list and inverted index on the left report the real, full-dimensional math driving the order.