Code Monkey home page Code Monkey logo

manim3's Introduction

logo

MIT License

Introduction

Manim3 is a personal variant of manim. It aims at standardizing the project structure, improving rendering performance and providing additional features.

Installation

Manim3 runs on Python 3.12+ and OpenGL 4.3+.

You may install manim3 directly via

pip install manim3

to install the latest version distributed on pypi. Or, to catch up with the latest development and edit the source code, you may clone this repository via

git clone https://github.com/YishiMichael/manim3.git
cd manim3
pip install -e .

Additionally, there are other software dependencies to be installed:

  • To generate video files, install ffmpeg.
  • To use TypstMobject (including Text, Math, Code), install typst.

Using manim3

The directory examples provides several demo scenes. Under that directory, simply run any script via py xxx.py. A window running a scene shall pop up.

License

MIT license

manim3's People

Contributors

acpear avatar yishimichael 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  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

manim3's Issues

Got GLException: (0x1280): Invalid enum when running example scenes

$ cd manim3/examples
$ python create.py
manim3 v0.1.0
Traceback (most recent call last):
  File "D:\src\manim3\examples\create.py", line 31, in <module>
    CreateExample().run()
  File "D:\src\manim3\manim3\toplevel\scene.py", line 59, in run
    self._run()
  File "D:\src\manim3\manim3\toplevel\scene.py", line 50, in _run
    Toplevel._get_renderer().process_frame()
  File "D:\src\manim3\manim3\toplevel\renderer.py", line 344, in process_frame
    self._render_frame()
  File "D:\src\manim3\manim3\toplevel\renderer.py", line 335, in _render_frame
    self._final_framebuffer.render(self._oit_compose_vertex_array)
  File "D:\src\manim3\manim3\rendering\framebuffers\framebuffer.py", line 100, in render
    Toplevel._get_context().set_blendings(self._blendings)
  File "D:\src\manim3\manim3\toplevel\context.py", line 48, in set_blendings
    gl.glBlendFunci(
  File "D:\app\conda-env\py312\Lib\site-packages\pyglet\gl\lib_wgl.py", line 66, in __call__
    return self.func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\app\conda-env\py312\Lib\site-packages\pyglet\gl\lib.py", line 78, in errcheck
    raise GLException(f'(0x{error}): {msg}')
pyglet.gl.lib.GLException: (0x1280): Invalid enum. An unacceptable value is specified for an enumerated argument.
  • platform: windows 10
  • python version 3.12.1
  • pyglet version 2.0.10
  • OpenGL version 4.3.0 NVIDIA 536.23

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.