Shows two points on a grid, then animates the horizontal run (delta x) and vertical rise (delta y) between them. The visualization computes slope = (delta y)/(delta x), highlights how the sign indicates direction (increasing/decreasing/flat), and demonstrates “rate per 1 unit of x” with a one-grid-step example on the line.
Pure Canvas2D, green-on-black blocky grid snapped to a fixed cell size. A timed cycle places two points, draws the line, animates run/rise as an L-step, then reveals the slope formula and a unit-step rate indicator. Alternates positive/negative/zero slope modes over time; uses provided ease() for smooth transitions.