Plots
Here are some interactive plot tools that I've made for use in teaching. More will be added in time, as I convert my existing load of Python tools to TypeScript. You can access the underlying TypeScript too, if you want to mess around with it.
- An interactive plot for exploring rotational spectra of diatomic molecules. Code available here, speedily converted from my original Matplotlib plot using Claude Code.
- An interactive plot for exploring different kinds of gradient descent algorithm. Code at gradient_descent.ts. More writing about this here.
- An interactive plot for exploring colloidal stability within the DLVO model. Code at: DLVO_plot.ts.
- An interactive plot for exploring chemical kinetics. which uses a simple implementation of a Runge-Kutta ODE solver to numerically solve a range of chemical rate equations. Code at: kinetics_calculator_numerical.ts, ODE module linked above.