Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing seemingly private library (manim) #1

Open
CommanderPho opened this issue Jun 2, 2023 · 1 comment
Open

Missing seemingly private library (manim) #1

CommanderPho opened this issue Jun 2, 2023 · 1 comment

Comments

@CommanderPho
Copy link

Thank you for providing your code to accompany your great video (https://www.youtube.com/watch?v=_FuuYSM7yOo).

I wanted to play around it myself to build an intuition, but it seems to require a private library (manim): in the first line: (from manim import *). I tried removing removing the import but this leaves: NameError: name 'Scene' is not defined, so it seems some things from this library are used.

If you would be willing to provide that library or extract the subset needed to use your code I'd really appreciate it.

Thank you again for the great video,

  • Pho Hale
@manforowicz
Copy link
Owner

Thanks for asking. Manim is an animation library that must be installed for the code to run. I just added a README.md that answers your question:

  1. Install the dependency, Manim Community, by following their instructions.
  2. Clone this repository to your computer.
  3. In the cloned directory, run a command of the type manim -pql INSERT_PYTHON_FILE.py INSERT_SCENE_NAME. For example manim -pql kelly_criterion.py Intro. The scene should render and play.
  4. To learn more, explore Manim's Documentation.

Have a great day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants