Visualizes a sequence as an indexed ordered list (n → a_n). The animation steps through terms and highlights the rule that generates the next term: arithmetic sequences add a constant difference d each step, while geometric sequences multiply by a constant ratio r each step. Recurrence and explicit formulas are shown side-by-side to connect “process” and “closed form.”
Time-based stepping animates from a_n to a_{n+1} with eased interpolation. The visualization alternates modes every ~2.1s (arithmetic/geometric) and uses snapped coordinates for a blocky grid aesthetic. Pure Canvas 2D API; responsive scaling via scale = min(w,h)/baseSize.