Avalanche consensus is a method for a network of computers (called nodes) to quickly agree on the same answer, without any central authority deciding for them. Instead of everyone talking to everyone at once, each node only asks a small random handful of others what they think, and if enough of those answers point the same way, a node updates its own view. After several rounds of this kind of “snowball” agreement, choices become stable and final.
This demo shows that idea on a canvas: dots are nodes, red and blue are two competing options, and you can watch them sample neighbors, flip toward a majority, and eventually lock in, using knobs like sample size, how many must agree, and how many steady rounds finalize a node. This is exactly the consensus mechanism powering eCash (XEC), a digital currency. It works alongside proof of work Nakamoto consensus for the underlying chain.