Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Setup determinant_puzzle.py in eola2

Grant Sandersonb610dbb37ca6
diff --git a/active_projects/eola2/__init__.py b/active_projects/eola2/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/active_projects/eola2/determinant_puzzle.py b/active_projects/eola2/determinant_puzzle.py
new file mode 100644
index 000000000..59a3fdf4e
--- /dev/null
+++ b/active_projects/eola2/determinant_puzzle.py
@@ -0,0 +1,12 @@
+from big_ol_pile_of_manim_imports import *
+
+class WorkOutNumerically(Scene):
+ def construct(self):
+ pass
+
+
+class SuccessiveLinearTransformations(LinearTransformationScene):
+ def construct(self):
+ self.apply_transposed_matrix([[0, 1], [1, 0]])
+ self.apply_transposed_matrix([[1, 1], [0, 1]])
+ self.wait()
diff --git a/scene/vector_space_scene.py b/scene/vector_space_scene.py
index 157561e16..9e418b351 100644
--- a/scene/vector_space_scene.py
+++ b/scene/vector_space_scene.py
@@ -320,7 +320,7 @@ class LinearTransformationScene(VectorScene):
def add_foreground_mobject(self, *mobjects):
self.add_special_mobjects(self.foreground_mobjects, *mobjects)
-
+
def add_transformable_mobject(self, *mobjects):
self.add_special_mobjects(self.transformable_mobjects, *mobjects)