Skip to content

Commit 32ea94d

Browse files
committed
Fix malhotra5#2 and a typo
* .gitignore: Automatically ignore media/ and files/ generated by manim * README.md: Fix a typo and change every `big_ol_pile_of_manim_imports' to `manimlib.imports', which is the official substitution * code/*.py: Change all `big_ol_pile_of_manim_imports' to `manimlib.imports' in order to fix malhotra5#2
1 parent 2522dcf commit 32ea94d

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
__pycache__/
2+
media/
3+
files/

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Some additional installations are mentioned below
5353
sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
5454
sudo apt install texlive-latex-base texlive-full texlive-fonts-extra
5555
```
56-
Phew! This will be the last isntallation for additional python modules. Run this in the terminal
56+
Phew! This will be the last installation for additional python modules. Run this in the terminal
5757
``` bash
5858
python3 -m pip install -r requirements.txt
5959
```
@@ -94,7 +94,7 @@ I recommend to look at it later, and start with the tutorial.
9494
Finally we can start. In this tutorial, we will learn by doing.
9595
### Basics
9696
``` python
97-
from big_ol_pile_of_manim_imports import *
97+
from manimlib.imports import *
9898

9999
class Shapes(Scene):
100100
def construct(self):
@@ -128,7 +128,7 @@ We will break this into parts:
128128
### Shapes
129129

130130
```python
131-
from big_ol_pile_of_manim_imports import *
131+
from manimlib.imports import *
132132
from math import cos, sin, pi
133133

134134
class Shapes(Scene):
@@ -213,7 +213,7 @@ There are other bases classes we will explore for making Graphs, 3D Scenes,etc.
213213
### Text
214214

215215
```python
216-
from big_ol_pile_of_manim_imports import *
216+
from manimlib.imports import *
217217

218218
class makeText(Scene):
219219
def construct(self):
@@ -254,7 +254,7 @@ TextMobjects will be used later on to write good looking math equations.
254254

255255
```python
256256

257-
from big_ol_pile_of_manim_imports import *
257+
from manimlib.imports import *
258258

259259
class Equations(Scene):
260260
def construct(self):
@@ -354,7 +354,7 @@ second_eq = ["$J(\\theta_{0}, \\theta_{1})$", "=", "$\\frac{1}{2m}$", "$\\sum\\l
354354
### Graphing
355355

356356
```python
357-
from big_ol_pile_of_manim_imports import *
357+
from manimlib.imports import *
358358
import math
359359

360360
class Graphing(GraphScene):
@@ -446,7 +446,7 @@ CONFIG = {
446446
### 3D Graphing
447447

448448
```python
449-
from big_ol_pile_of_manim_imports import *
449+
from manimlib.imports import *
450450

451451
class ThreedSurface(ParametricSurface):
452452

@@ -496,7 +496,7 @@ A continuation of this tutorial will follow to explain how the camera works. For
496496
Manim has a mobject made for images. You can resise them, invert their colors, etc by using Manim methods.
497497

498498
```python
499-
from big_ol_pile_of_manim_imports import *
499+
from manimlib.imports import *
500500

501501
class Images(Scene):
502502
def construct(self):
@@ -512,7 +512,7 @@ class Images(Scene):
512512
Alternatively, you could load the image using OpenCV or PIL, and then display the image using Manim.
513513

514514
```python
515-
from big_ol_pile_of_manim_imports import *
515+
from manimlib.imports import *
516516
import cv2
517517

518518
class Images(Scene):

code/basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from big_ol_pile_of_manim_imports import *
1+
from manimlib.imports import *
22

33
class Shapes(Scene):
44
def construct(self):

code/graphing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from big_ol_pile_of_manim_imports import *
1+
from manimlib.imports import *
22
import math
33

44
class Graphing(GraphScene):

code/mathEq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from big_ol_pile_of_manim_imports import *
1+
from manimlib.imports import *
22

33
class Equations(Scene):
44
def construct(self):

code/shapes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from big_ol_pile_of_manim_imports import *
1+
from manimlib.imports import *
22
from math import cos, sin, pi
33

44
class Shapes(Scene):

code/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from big_ol_pile_of_manim_imports import *
1+
from manimlib.imports import *
22

33
class makeText(Scene):
44
def construct(self):

0 commit comments

Comments
 (0)