Interactive component library
Deterministic visual widgets — pure SVG, no LLM, instant. Question numbers plug straight in.
Fraction bar — “What fraction is shaded?” (3/4)
4 equal parts
Number line — a sequence at a glance
Place-value grid — the value of each digit (3,742)
Thousands3
Hundreds7
Tens4
Ones2
Venn diagram — sets and overlaps
LLM-authored animation (2.2) — dynamic cases, cached after first render
When a fixed widget can’t cover every case, the LLM emits a compact JSON keyframe recipe. First render is authored by Haiku (≤3s); every repeat is instant from cache.