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
0
votes
1 answer

ScreenGrid on python manim as a not defined name

My script is as follows: from manimlib.imports import * class cena(Scene): def construct(self): rede = ScreenGrid() texto = TextMobject('Ana') self.add(texto,rede) self.wait(2) I keep getting the following…
Davi Alefe
  • 115
  • 10
0
votes
1 answer

Manim Zoom Not Preserving Line Thickness?

Here is a modified version of some example code, which is from the bottom of this page. The only change is that I've added a line: from manimlib.imports import * class ZoomedSceneExample(ZoomedScene): CONFIG = { "zoom_factor": 0.3, …
Zach Hunter
  • 169
  • 8
0
votes
1 answer

I cannot run example scenes with Manim

So I have tried to run the example scene in Manim by following this tutorial, but it keeps giving me a FileNotFoundError, why is that? What's annoying me is that the file that leads to the example scened does exist.
Bored Comedy
  • 187
  • 9
0
votes
1 answer

How to use tikz in manim?

I am trying to use tikz in manim. The version of manim I used is 3feb2019. I have added necessary packages into tex_template file. But it throws an error: IndexError: list index out of range I have no idea to solve this bug. Could anyone help…
user450201
  • 119
  • 3
0
votes
1 answer

How to apply an updater to a Line connected to a function graph

Here's my code class Formula2(GraphScene): CONFIG = { "x_min" : 0, "x_max" : 10.3, "x_tick_frequency": 1, "y_min" : 0, "y_max" : 10.3, "y_tick_frequency": 1, "graph_origin" : [-4,-3,0] , …
Derican
  • 49
  • 2
0
votes
1 answer

wont run example_scenes.py in Manim

I used thisvideo as a tutorial this is a similar problem with no solid solution particular error code: (ImportError: DLL load failed: The specified module could not be found.) not sure what to refer to if the only problem is that the file cant be…
austin b
  • 5
  • 2
0
votes
1 answer

Trying Make Own Shape By Manim

I try to make convex lense. But not using SVGimages or other things. I want to define it in a class But ı'll get a black screen image. What should ı do? Ok, ı can fix it like following: a=ArcBetweenPoints(ORIGIN, UP, self.rad) and…
SexyZecky
  • 9
  • 2
0
votes
2 answers

ImportError: cannot import name 'Color' from 'colour'

I am trying to install Manim in my elementary OS . After installing when i tried to open the example_scenes.py by python3.7 -m manim example_scenes.py SquareToCircle -pl , i am getting the following error : Traceback (most recent call last): File…
Zarif
  • 445
  • 5
  • 12
0
votes
1 answer

Wrong Graph is getting plotted in Manim using GraphScene

So manim is installed correctly i can transform i can see latex formulas and all but i was trying to plot a graph from manimlib.imports import * class PlotFunctions(GraphScene): CONFIG = { "x_min" : -10, "x_max" : 10, …
0
votes
2 answers

How do I pass a float to x_axis

I'm trying to create a GraphScene and plot a function between 0 and 1. I want labels at 0.1 and 0.3. I am attempting to achieve this by passing "x_labeled_nums": np.array([0.1, 0.3, 1]) and then "x_axis": {"decimal_number_config":…
twoy
  • 53
  • 7
0
votes
1 answer

Is there a way to create a Scatterplot in manim?

I am wondering if there is a way to create a Scatterplot in manim. Has anyone ever done it? if yes, what is the best way to do it?
Jonas
  • 29
  • 2
0
votes
1 answer

Unable to add SVGMobject to Scene in manim

I am trying to add a SVG image to a Scene in manim. This is my SVG file (named "AND_DIN"):
user46625
  • 31
  • 2
0
votes
1 answer

How to flash mobject between two colors

I want to define a Animation which change color of a mobject between two colors during specific time period. E.g. a mobject with color RED, I want to set its color between RED and YELLOW back and forth 5 times during 2 seconds. Below is my code (can…
James Hao
  • 765
  • 2
  • 11
  • 40
0
votes
2 answers

When rotating shapes, vertices are just slightly off

I'm working on a manim challenge from this video: https://youtu.be/HKPm8FZYaqI?t=700. The challenge is to code the animation which starts at 11:40 and ends at 11:49. I got up to the point where the triangles are rotated and copied over to the second…
0
votes
1 answer

type object 'Animation' has no attribute 'mobject'

I exercise examples here From SuccessionExample1 on, as long as there exists: Succession(Animation, Mobject(),... There will be error like below: AttributeError: type object 'Animation' has no attribute 'mobject' I checked the animation.py and…
James Hao
  • 765
  • 2
  • 11
  • 40