Settings

Theme

Show HN: Wanim – Manim in the browser, but 1/20 smaller

github.com

4 points by Acfboy · 0 comments · 1 min read

Reader

Hi HN, I really like Manim, but when I tried to use it to make interactive small demos on the web, I found that no project can simultaneously satisfy running original manim python code without carrying the bulky pyodide which makes it impossible to embed. So I made one. My idea is to rewrite a js library that is almost completely identical to manim, and then patch rapydscript-ng to translate the original code to js, and support numpy syntax. It looks surprisingly good, supports the vast majority of syntax, and the size is only about 1M (1/20 of pyodide)! You can try it at https://wanim.org/playground, and there is an interactive courseware example at https://wanim.org/blog.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection