The most useful library for Geometron is MathJax. This library makes
it possible to make beautiful mathematical symbols in HTML, based on the $\LaTeX$ system of typesetting.
The following is the code required to import the package. With this code any math can be put inside single dollars signs
and it will be typeset according to the rules of $\LaTeX$. Double dollars signs will make a separate equation.
The commented out code MathJax.Hub.Typeset() is as a reference for the code needed to update mathjax, which is
needed in various redraw() functions in Geometron where text elements with math in them need to be updated as they are
moved, edited, etc.
The next most useful library is Ace, a editor with syntax highlighting for most types of computer code. This is the
code needed to import it in the "head" element:
Another library of use for Geometron is the qr code generator, qrcode.js. I have been unable to get a remote library to work
for this for some reason, so when used the file "qrcode.js" has to be on the host, in general in the same directory as the
html file that calls it. If it is in the same directory, the code to get it is:
The code to generate a QR code is
which supports complex numbers.
Overwhelmingly the most useful part of this is complex numbers. Matrices are also useful and documented
here. Here are some examples of that, all lifted from