This project contains the supporting code used to develop the math and science videos found on Welch Labs.
This consists of two major components: the hacking scripts we use to generate data, images, etc., and the core animation used to make the final scenes. The hacking scripts are primarily done through notebooks, with a good example being _2025/backprop_1/Loss Landscape While Learning.ipynb. The core animation consists of scene files like _2025/backprop_2/llama_learning_animation_1.py.
The animation consists of scenes generated using the library Manim; note that this is the 3Blue1Brown version of Manim, not Manim Community. However, this is not the only method used for the animations present in videos.
The contents of this repository are available under the MIT License.
Copyright © 2026 Welch Labs