isaacvr / manim-js

Manim-like animation framework for the web.
18 stars 3 forks source link

Add LaTeX support #6

Open isaacvr opened 5 years ago

isaacvr commented 5 years ago

It's needed for the framework, to display math equations, and a good way to do that is by using LaTeX.

An option to do that, and for a general purpose text, is to use mathjax to convert from LaTeX to SVG to handle it properly.

two-ticks commented 3 years ago

I tried adding TeX using tex-to-svg and anime.js. The result is something like this. You can try something similar. Animating TeX :(https://codepen.io/adi_sid/pen/xxqqRbg)

isaacvr commented 3 years ago

@two-ticks This project is intended to be an animation engine (kind of) that allows to create shapes and easily transform them. Right now I'm changing the core of this project to Typescript and doing it from scratch. Maybe I'll add some features to it in order to have a better way to handle SVG files and to implement all kind of animations and transformations from any shape to any shape.