Ask HN: What's the state of the art for drawing math diagrams online?
17 by ajkjk | 10 comments on Hacker News.
I'm interested in having high-quality math diagrams on a personal website. I want the quality to be comparable to TikZ, but the workflows are cumbersome and it doesn't integrate with MathJax/KateX. Ideally I would be able to produce the diagrams in JS with KaTeX handling rendering the labels, but this doesn't seem to exist (I'm a software engineer so I'm wondering if I should try to make it...). Nice features also include having the diagram being controllable by JS or animatable, but that's not a requirement. What are other people using? Things I've considered: TikZ options: * TikZ exported to SVG * Writing the TikZ in something else, e.g. I found this library PyTikZ which is old but I could update things to it, that way at least I don't have to wrangle TikZ's horrible syntax much myself. I could theoretically write a JS version of this. * Maybe the same thing, JS -> TikZ, but also run TikZ in WebAssembly so that the whole thing lives in the browser. * Writing TikZ but ... having ChatGPT do it so I don't have to learn to antiquated syntax. Non-TikZ options: * InkScape * JSXGraph, but it isn't very pretty * ??? Thanks for your help!
No comments:
Post a Comment