I’ve put the source to my write maths, see maths editor on github. The latest version should always be available there.

In other news, I’ve added support for geometric diagrams using JSXGraph. It’s good for very simple diagrams, but I don’t think you can do anything hugely complicated with it.