Babbage's Difference Engine: Difference Table Plotter
A 2D difference-table plotter: watch Babbage's method of finite differences tabulate a polynomial using only repeated addition, drawn as a growing curve and a live cascade diagram of the four difference registers.
Before electronic computers existed, Charles Babbage designed a machine that could tabulate polynomials using nothing but repeated addition, propagated through columns of decimal digit wheels connected by carry gearing. This 2D companion renders the same finite-difference arithmetic two ways at once: a rolling line plot traces f(n) point by point exactly as the engine's own stereotype printer would have stamped a table, while a cascade diagram beneath it shows the four difference registers as stacked value boxes with an animated addition pulse flowing upward — from the constant Δ³ register into Δ², into Δ¹, into f(n) — on every turn of the crank. Set the coefficients of a cubic polynomial, turn the crank by hand or let it run automatically, and watch the curve grow while the number of multiplications used stays at zero throughout: the entire reason the design was mechanically realisable with Victorian-era engineering.
Watch Babbage's method of finite differences tabulate a cubic polynomial using only repeated addition — a rolling 2D plot traces f(n) point by point while a live cascade diagram shows the addition pulse flow upward through the four difference registers on every crank turn.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install