Hacker News new | ask | show | jobs
by throwathrowaway 3780 days ago
I think getting this (https://github.com/3b1b/manim) to work needs a video would need a video of its own. :)

Here's where I got to since the README.md is basically empty for the moment.

So far I've got it to do something. It needs at least these python libraries as dependencies.

    - cv2 (This is OpenCV and is not easily installable inside virtualenv)
    - colour
    - progressbar
    - tqdm
I'm running everything from the main manim directory, after a git clone.

    git clone https://github.com/3b1b/manim
    cd manim
Its also expecting a `../animation_file/images` directory to exist.

    mkdir -p ../animation_file/images
Now each project consist of a set of classes, each one a scene. To view a scene, it can just be instantiated

    PYTHONPATH=`pwd` python
    >>> scene = generate_logo.LogoGeneration()
There's a progress bar that shows a few times. Then a new window shows up for me (from ImageMagick? Maybe that's a dependency too.).

Then I think you can call .construct() on the object.

    >>> scene.construct()
But it took too much computational power so I stopped there.
1 comments

Ah, yes, this is one of those projects that I worked on mostly as a tool for my own use. Eventually, I plan to make a proper tutorial and everything, but first there are a few key things I ought to revamp which, over time, have become way over-personalized.