Adding math support to Hugo blog with KaTeX

I am continuing to clean my Hugo site. Going over old posts, I found one on explaining artificial neural networks that included a bunch of equations based on screenshots from my master’s thesis. Now, with the help of CoPilot, I have implemented proper equation support on my Hugo site. KaTeX to the rescue I am used to writing my academic texts using LaTeX, an advanced typesetting library where you write code and compile it to a PDF (or something else). One of the benefits of LaTeX is its advanced support for typing equations (and many other features). However, until recently, it wasn’t so easy to write equations in HTML. ...

January 1, 2026 · 2 min · 350 words · ARJ

Derivatives

A useful thing to do with position data (e.g. from a motion capture system) is to calculate the first and second derivatives. These will give you the velocity and acceleration, respectively. But it doesn’t stop there. In fact, it is possible to continue calculating derivatives of derivatives. Here are the names for the first 10 ones: original: position velocity (1st) acceleration (2nd) jerk (3rd) snap/jounce (4th) crackle (5th) pop (6th) Lock (7th) Drop (8th) Shot (9th) Put (10th) Whether these are useful or not is another question…

May 4, 2011 · 1 min · 87 words · ARJ