51% Attack & Double-Spend Race (2D)
2D companion to the Proof-of-Work 51% attack race: honest and attacker block lanes race left to right, a live chart tracks actual vs. theoretical double-spend probability, and a full risk curve shows P(success) across every hashrate share at once.
This 2D companion drives the exact same Nakamoto double-spend race as the 3D version — a merchant releases goods once a payment is buried under k confirmations on the honest chain, and a dishonest miner controlling a hashrate share q secretly mines a rival fork from one block earlier, hoping to overtake the honest chain and force a reorg that reverses the payment — but renders it as two flat racing lanes read left to right instead of a 3D block tower. Where the 3D scene lets you orbit the race, this version adds something the camera can't show: a live strip chart plotting the running "actual success rate" against Satoshi Nakamoto's closed-form probability curve as races accumulate, and a second panel tracing that same probability across every possible attacker hashrate share from 5% to 95% at once, with the current setting marked — so you can see exactly where today's parameters sit on the whole risk curve, not just watch one outcome at a time.
2D racing-lane companion to the 3D Proof-of-Work double-spend race: same Nakamoto-consensus block-by-block coin flip, plus a live convergence chart of actual vs. theoretical success rate and a full risk curve across every attacker hashrate share.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install