I made a little extension to my Python-based LaTeX math renderer so it can be used to draw equations and Sympy expressions directly in the terminal as sixel graphics. Install with `pip install sixelmath` and give it a try! (in a sixel-supported terminal, of course).

Source: https://github.com/cdelker/sixelmath

#sixel #python #sympy #TeXLaTeX #terminal #equations #ziamath #konsole

#genuary20 - Generative Typography

For typography, I used my Python library Ziafont, which I wrote to read font files and convert the glyphs to SVG paths. It was developed to support Ziamath for light-weight typesetting of mathematical expressions in pure Python. But for Genuary, instead of drawing the Bézier curves that normally outline a glyph, it takes the Bézier control points and randomly connects them with line segments. Generated from the QTAbbie font.

#genuary #typography #ziamath #ziafont #béziercurve #python #svg

Just released an update to Ziamath, a Pure-Python package for rendering MathML and LaTeX equations to SVG.

I wrote it because:
1) Not everything runs in a browser or online
2) Not everyone can or wants to install gigantic LaTeX
3) To allow any math-enabled font to be used
4) To see if I could

Demo via Pyscript: https://cdelker.github.io/pyscript/ziamath.html

Source:
https://github.com/cdelker/ziamath

#mathml #TexLaTeX #LaTeX #python #SVG #equations #pyscript #ziamath

Ziamath Latex Rendering Demo