3 ms·
How does he create those animations? I'd like to make them as well for myself.
by brodolage 3y ago
How does he create those animations? I'd like to make them as well for myself.
- smokel 3y agoThey seem to be built with some love by the author. Apparently they have written it in Haxe, judging from the comment in the page source.
- brodolage 3y agoOh that's way out of my league unfortunately. I wonder if there's a library or something that does something like this.
- riemannzeta 3y agoNot quite what you're looking for, but worth pointing out that Grant Sanderson of 3Blue1Brown has published the "framework" he uses for his math videos on GitHub. https://github.com/3b1b/manim https://github.com/3b1b/manim
- cgadski 3y agoHaha yeah, took some love. I have a scrappy little "framework" that I've been adjusting since I started making interactive posts last year. Writing my interactive widgets feels a bit like doing a game jam now: just copy a template and start compiling+reloading the page, seeing what I can get onto the screen. I've just been using the canvas2d API. Besides figuring out a good way of dealing with reference frames, the only trick I'd pass on is to use CSS variables to change colors and sizes (line widths, arrow dimensions, etc.) interactively. It definitely helps to tighten the feedback loop on those decisions.
- aeonik 3y agoI'd like to know too. I've been using Emmy from the Clojurescript ecosystem, which works pretty good, but has a few quirks. https://emmy-viewers.mentat.org/ https://emmy-viewers.mentat.org/