zlacker

[return to "Ask HN: What's the state of the art for drawing math diagrams online?"]
1. xeonmc+7m[view] [source] 2023-11-20 19:02:19
>>ajkjk+(OP)
What we need is a modernized toolchain for Asymptote[0] that can run in the browser in realtime like MathJax, it has much nicer syntax than TikZ.

[0] https://asymptote.sourceforge.io/

◧◩
2. westur+e11[view] [source] 2023-11-20 21:42:28
>>xeonmc+7m
ipython-asymptote [1][2] probably supports Jupyter Retro (now built on the same components as JupyterLab) but not yet JupyterLite with the pyodide WASM kernel:

emscripten-forge builds things with emscripten to WASM packages. [4]

JupyterLite supports micropip (`import micropip; await micropip.install(["pandas",])`).

Does micromamba work in JupyterLite notebooks?

"DOC: How to work with emscripten-forge in JupyterLite" https://github.com/emscripten-forge/recipes/issues/699

[1] https://github.com/jrjohansson/ipython-asymptote/tree/master

[2] examples: https://notebook.community/jrjohansson/ipython-asymptote/exa...

[3] https://jupyterlite.readthedocs.io/en/stable/#altair

[4] https://github.com/emscripten-forge/recipes

[go to top]