- 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.). >>> scene.construct()
But it took too much computational power so I stopped there. $ python -c 'import random;L=sorted(str(random.randint(1,9)) for i in range(4));a=raw_input(L);print(eval(a)==24,sorted(filter(str.isdigit,a))==L)'
['2', '6', '7', '8']8*(7+2-6)
(True, True)
Try to make it print (True, True) without abusing eval too much (intended to be +-*/() only with digits as tokens). import random;L=sorted(str(random.randint(1,9)) for i in range(4));a=raw_input(" ".join(L)+"\n> ");print(eval(a)==24,sorted(filter(str.isdigit,a))==L)