3b1b / videos

Code for the manim-generated scenes used in 3blue1brown videos
5.79k stars 1.55k forks source link

Can someone help me with running Grant's new codes with manimGL? Many thanks. #72

Closed Lay-Yin closed 1 month ago

Lay-Yin commented 1 month ago

I've installed manimGL version 1.6.1 along with the necessary dependencies listed in requirement.txt to virtual env(manimgl_test).As you can see from figures, the manimgl directory structures are identical. image image

When I try to run the simple Py code(test.py), I got this result (figure 3). image

Which could be rendered perfectly in manimgl(Another virtual env, where I installed manimGL version 1.6.1 by git clone command. Of which the directory structure is a little different from grant's. As shown in figure below. image

Later, after downloading the 2023_optics_puzzles folder, when I try to execute one of the py.files (bending_waves.py), things just don't work out, like what figures down below shows. image image

In a nutshell, virtual env manimgl seems to be better, after all test.py can be executed. But Grant's codes are more incompatible with it, since more bugs reported than excuted in manimgl_test virtual env.

Lay-Yin commented 1 month ago

Any opinion would be great opinion!