CalcLens early prototype
Interactive demonstrations for Calculus 1 — limits, derivatives and integrals — built the same way as StatLens: no build step, keyboard-first, readable on a phone, and aimed squarely at the places students actually get stuck.
Cards without a link are sketched, not built. URL parameters for the working tools are frozen — see the URL API.
Integrals
Derivatives
Limits
Tools
About this prototype
CalcLens has its own small computer algebra system — about 950 lines in
js/expr.js — rather than a general library. Calculus 1 needs a
narrow catalogue of functions, but it needs the answers printed the way the
course prints them: ln x rather than log(x),
x³⁄3 rather than 0.3333x³. Owning the printer is the point.
Student answers are checked by evaluating both sides at a spread of points, not by symbolic comparison. That never rejects a correct answer for being written in an unexpected form, and it hands back a specific counterexample when the answer is genuinely wrong.
Notes on the architecture, the supported syntax and what is still missing
are in calclens/README.md. Page chrome, charts and maths
rendering come from the shared kit/.