3D Page Replacement Visualizer
Interactive 3D virtual memory simulator: watch FIFO, LRU and LFU page replacement swap pages in and out of a physical frame grid as a program's reference string plays, with page faults and hit rate tracked live.
Virtual memory lets a process address more memory than physically exists by keeping only the pages it actually needs in RAM, swapping others to disk. This simulator renders physical memory as a grid of frame sockets in 3D: a simulated program repeatedly references pages drawn mostly from a small "working set", and every reference is checked against the resident frames. A hit pulses the frame green in place; a fault evicts a victim frame — chosen by whichever replacement policy you select, FIFO, LRU or LFU — and swaps in the freshly requested page as a new colored block. Watch how frame count and working-set size change the fault rate under each policy.
Explore virtual memory page replacement techniques (FIFO, LRU, LFU) in a 3D environment where memory frames are represented as sockets, and requests interact with them visually.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install