HomeAlgorithms & AIBabbage's Difference Engine: Difference Table Plotter

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.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-computer-science-history ↗ Open standalone

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.

⚙ Under the hood

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.

computer science historyBabbagefinite differencesmechanical computingalgorithmsdifference table

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)