Git Product home page Git Product logo

manim-studio's Introduction

Manim Studio

Manim Studio

Manim Studio is a Manim plugin to live-preview animations rendered with Cairo, and also it's useful for many other things!

Features

  • Live preview Manim animations made with Cairo.
  • Work with Manim Mobject using the GUI.
  • Export to a Python file the code of the animation.
  • A live cell to interactively insert code into the scene.
  • Create animations with the GUI.
  • Create animations with AI.
  • Collaborate with other people in the same project.

Requirements to install

Install with git

  • Installed Python 3.
  • Installed Manim.
  • Installed PyQt6.
  • Installed Git.

Install with pip

pip installs all the requirements automatically, but you must have Python 3 installed.

Steps to use

The documentation is not available by the moment, but it will be soon.

You can run Manim Studio in a new scene, but also in a scene that you've been working before with code.

If you want to work in a completely new scene, you must run:

foo@bar:~$ manim-studio

If you want to work in a scene that you've been working before with code, you must run:

foo@bar:~$ manim-studio --file FILE --scene SCENE_CLASS_NAME

To save your progress, you must click on Generate Python File button.

If you want to continue later, you must save your progress and run Manim Studio using the generated Python file and its respective scene class.

You can also render a video by clicking Render Video File.

Contributing

If you want to contribute to Manim Studio, you can do it by forking the repository and making a pull request. You can also contribute by reporting bugs or suggesting new features.

License

This project is licensed under the MIT License. See LICENSE for more details.

manim-studio's People

Contributors

dependabot[bot] avatar mathityt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

manim-studio's Issues

manim_studio\api.py, line 4, ImportError: cannot import name 'NoneType' from 'types' (C:\Python396\lib\types.py)

Describe the bug

C:\Users\hayde\Downloads\manim-test>manim-studio
Traceback (most recent call last):
  File "C:\Python396\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python396\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Python396\Scripts\manim-studio.exe\__main__.py", line 4, in <module>
  File "C:\Python396\lib\site-packages\manim_studio\__init__.py", line 1, in <module>
    from .api import ManimStudioAPI, hold_on
  File "C:\Python396\lib\site-packages\manim_studio\api.py", line 4, in <module>
    from types import ModuleType, NoneType
ImportError: cannot import name 'NoneType' from 'types' (C:\Python396\lib\types.py)

To Reproduce
Steps to reproduce the behavior:

  1. Install python 3.9.6
  2. Open a cmd prompt as admin
  3. run pip install manim
  4. run pip install manim-studio
  5. create project folder with template scene.py
  6. run manim-studio in folder

could be because:
decorator<6.0.0,>=5.0.7 in c:\python396\lib\site-packages (from manim<0.19.0,>=0.18.0->manim-studio) (5.1.1)

Expected behavior
The app/gui should run

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: chrome
  • Version 21H2

Smartphone (please complete the following information):

  • Device: why ??
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

manim Studio does not start on Mac OS with python 3.1

a call of manim-studio results in
~/Downloads/manim % manim-studio --version (master)manim
Manim Community v0.18.0

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/manim-studio", line 5, in
from manim_studio.main import main
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim_studio/main.py", line 2, in
from manim_studio.editor_widget import EditorWidget
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim_studio/editor_widget.py", line 30, in
from manim_studio.mobject_picker import MobjectPicker, RefreshDropdownVGroupButton
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim_studio/mobject_picker.py", line 311
f"setattr(self, {name.repr()}, MathTex({"\ln x=\int_1^x{dt\over t}".repr()}))")
^
SyntaxError: unexpected character after line continuation character

SyntaxError: : unexpected character after line continuation character

Describe the bug
I downloaded the latest release 0.6.6 and tried running it. The error is
File "/home/ddd/anaconda3/envs/manim/lib/python3.11/site-packages/manim_studio/mobject_picker.py", line 311
f"setattr(self, {name.repr()}, MathTex({f"\ln x=\int_1^x{dt\over t}".repr()}))")
SyntaxError: unexpected character after line continuation character"

To Reproduce
Steps to reproduce the behavior:

  1. Install manim-studio using pip3 inside conda environment
  2. Run manim-studio

Expected behavior
I was expecting the GUI to openup

Screenshots
Attached

Desktop (please complete the following information):

  • OS: Ubuntu 23.10.1
  • Browser: Chrome
  • Version 120

Smartphone (please complete the following information):
NA

Additional context
Nil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.