Questions tagged [manim]

Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as seen in the videos at 3Blue1Brown.

Manim is a high-level library, written in to create rich 2D and 3D animations. It was developed for the 3Blue1Brown YouTube channel.

References:

424 questions
-1
votes
1 answer

Manim exception in text mobject example

I'm trying to run this example from Manim community documentation: from manim import * class HelloWorld(Scene): def construct(self): text = Text('Hello world').scale(3) self.add(text) For some reason I'm getting this…
traveh
  • 2,700
  • 3
  • 27
  • 44
-1
votes
1 answer

Manim reverse = True only works for text

I'm using manim and trying to reverse animation of a line (fading in from right to left instead of from left to right). I'm using this part of the documentation as a model :…
-1
votes
1 answer

Are there certain actions to take to prevent an "Unable to load OpenGL library" error in Python?

I'm trying to get into using the manim software of 3b1b but have many issues. First after completing the steps of installing the required software given on the Youtube channel "Theorem of Beethoven" I still get the following error when trying to…
Dewald
  • 1
-1
votes
1 answer

How to properly import a Python package in PyCharm?

I'm new to PyCharm, and after downloading a Python package (Manim) my code won't recognize the methods used in the package, unless I very precisely tell it where to look. In other words, when trying to just import Manim, I get this: where PyCharm…
J. Schmidt
  • 419
  • 1
  • 6
  • 17
-1
votes
1 answer

How can I play an animation from a non-Scene class using manim?

I was trying to do a Neural Network animation, and I found a class online, which I modified to suit my needs. Basically, the class looks like: class NeuralNetworkMobject(VGroup): ... ... def change_edge_color(...): edge =…
DarthVader
  • 37
  • 1
  • 8
-1
votes
1 answer

How to run your own file in Manim

Even I have a question, Some of you might be familiar with Manim(3blue1browns math animation software). If not here is the GitHub page(by thereom of Beethoven) it actually just says about the…
-1
votes
1 answer

Where Can I find more or less detailed description of mobjects?

Can you, please, refer me to a resource(s) where I can find list of attributes and methods for manim objects? (videos or sites, if there exist such). I tried to learn it myself by looking into mobject folder, but got to say, my brain got lost. I…
Tim Solnze
  • 103
  • 1
  • 3
-1
votes
1 answer

How to apply transform on Cartesian plane (NumberPlane()) to Polar plane?

In this video Grant performs a non linear transform. The transform from cartesian to polar is also non-linear. We find the determinant of the jacobian matrix to be 1/r. I could replicate the transform that Grant did, but how to animate this…
-2
votes
1 answer

i was coding in manim and I got this error: getter() takes 1 positional argument but 2 were given

` from manim import * class ParabolaWithRiemannRectangles(Scene): def construct(self): # Create a coordinate system plane = NumberPlane( x_range=(-4, 4, 1), y_range=(-1, 9, 1), x_length=8, y_length=10, ) # Define the parabola function def…
-2
votes
1 answer

Manim Dice Simulation

I would like to know how can I create a dice animation displaying random values for my manim project. I looked over the manim documentation and 3blue1brown github but I'm not really into coding and seems very confusing for me. Thanks :s
-2
votes
1 answer

How to solve indexerror when running manim examples?

I just start learning manim and Im not so good at python. when I was running manim examples given by the manim kindergarten, there was a error about index but I really don't know how to solve it. As follows manimgl example_scenes.py…
-2
votes
1 answer

What is the best way to draw a tree diagram in manim?

I'm very new to learning manim and well python. However, I'm trying to learn it to make nice videos for my students. I'm attempting to create some tree diagrams in manim, but I can't seem to find much help. I tried getting manim to use tikz, but I'm…
Ryan
  • 189
  • 1
  • 7
-2
votes
1 answer

Pycairo erron on pip installation

I tried to install the Manimlib from the Pycharm's available packages, all the others components are installed, MikTex, Sox, and so on. But i have tried to install pycairo from Pycharm's packages and the pip installation, the following situation…
Duca
  • 1
  • 1
-3
votes
1 answer

Trouble in installing requirements.txt file on windows while installing manim

This is my file how do i install it using command prompt? argparse colour numpy Pillow scipy sympy tqdm mapbox-earcut matplotlib moderngl moderngl_window pydub pyyaml screeninfo pyreadline; sys_platform ==…
-3
votes
1 answer

Automatically transform all variables in a class to "self" variables

My code (minimal example) looks like this: class Hello: a=1 b=2 c=3 def __init__(self): self.d= 4 and I am searching for a function like set_all_vars_to_self_vars() which I can call in the class Hello, so that the Hello…
Kolibril
  • 1,096
  • 15
  • 19
1 2 3
28
29