Show HN: Wanim – Embed interactive 3Blue1Brown-style animations in your blog
https://github.com/Acfboy/Wanim
Hi HN, I love 3Blue1Brown's animations and Manim, the Python animation engine behind them. So I wanted to run it in my blog to build interactive animations. But that wasn't easy. Running it with Pyodide is too heavy.I came up with a new approach: by patching rapydscript-ng (a tool that transpiles Python-like syntax to JS), I make it translate Manim code into JS, and pair it with a companion JS library. This lets it run the original code in a small enough bundle.
Fortunately, after overcoming some difficulties, it worked! It runs surprisingly well. You can see a blog I built here: https://wanim.org/blog , or try running your own Manim animations at https://wanim.org/playground.
(
no comments
| on HN
)
There are no comments yet.