CanvasMath Inline Substitution example

Resize the browser window and see what happens. View the page source. All <cvm> nodes are replaced with a canvas containing a rendering of the math in the element. The math is written in human readable syntax.

The following expression is selectable: (1+x)/(1-x). You can select any part of it by dragging the mouse.

The following expression is editable: 1+sintheta. Click it then start editing! You can select some parts of it as well by dragging the mouse.

This one is neither selectable nor editable: sqrt(x^2+y^2)!

We know well that sin^2theta + cos^2theta = 1 and that x=(-b+-sqrt(b^2-4ac))/(2a), but it is less well known that exp^(ipi)+1=0

Matrices are important two: (cosphi, -sinphi; sinphi, cosphi)*(cosalpha; sinalpha) may ring a bell...