/manimgpt

natural language to manim code

Primary LanguagePython

manimgpt

problem:

there is no good visualization tool for mathematical concepts.

solution:

natural language prompts to make manim generated scenes.

example usage:

USER:

"explain transformers"

GPT:

```python

# TODO: manim code that explains transformers

```

installation:

there's a requirements.txt that should install all required dependencies:

pip install -r requirements.txt

if you want to run the streamlit-app:

cd streamlit-app
streamlit run Home.py

there are options to run both anthropic and openai models. the app should grab API keys from user environment if they exist. you can also create a .ENV in the root directory w/ valid API keys:

ANTHROPIC_API_KEY=todo
OPENAI_API_KEY=todo

there's a one_off_run.py script (not as up to date -- mostly contains testing):

python one_off_run.py

TODO:

  • learn how to write manim