Hacker News new | ask | show | jobs
by mrdonbrown 1914 days ago
Related, if you want to create a code walkthrough video, I wrote code-video-generator [1]

It uses Manim [2], an animation library commonly used by Math teachers, and adapted it to code walkthroughs. Just comment code as you do and it generates a video for it. I've been using it to generate visuals for youtube videos [3] with some success.

[1] https://github.com/sleuth-io/code-video-generator [2] https://github.com/manimcommunity/manim [3] https://www.youtube.com/watch?v=e21hJnB9J5k&t=2s

1 comments

This is slick! Anything similar for languages beyond Python?
The library should work with a few other languages like Java, JavaScript, and C++. If you want to add another one, take a look at comment_parser.py as it is pretty simple.