#math
- Autodiff
Exact gradients drawn as arrows. Why a triangle's angle gradient points at its circumcenter, and why an ellipse reflects light between its foci.
- Convex hull
Gift wrapping, Graham scan and monotone chain, each finding the smallest convex shape around the same points, played step by step with a live count of checks.
- Differential equations
A pendulum, predators and prey, and a planet around a sun. Drag the starting point and scipy's solve_ivp redraws the path from it.
- Glossary
A glossary in a Markdown page, with definitions that pop up on hover. Shown on a short article about what a positive medical test really means.
- Line fit
Drag the points and the least-squares line refits as they move, with the squares it makes smallest drawn on the canvas.
- Live convex hull
The smallest convex shape around a set of points, redrawn live as you drag them.
- PCA
Principal component analysis finds the direction the points spread out most. Drag the points and the directions, the ellipse and the share of the spread update as they move.