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

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.
4 points Acfboy 1 day ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton