mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Setup determinant_puzzle.py in eola2
This commit is contained in:
0
active_projects/eola2/__init__.py
Normal file
0
active_projects/eola2/__init__.py
Normal file
12
active_projects/eola2/determinant_puzzle.py
Normal file
12
active_projects/eola2/determinant_puzzle.py
Normal file
@ -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()
|
@ -320,7 +320,7 @@ class LinearTransformationScene(VectorScene):
|
|||||||
|
|
||||||
def add_foreground_mobject(self, *mobjects):
|
def add_foreground_mobject(self, *mobjects):
|
||||||
self.add_special_mobjects(self.foreground_mobjects, *mobjects)
|
self.add_special_mobjects(self.foreground_mobjects, *mobjects)
|
||||||
|
|
||||||
def add_transformable_mobject(self, *mobjects):
|
def add_transformable_mobject(self, *mobjects):
|
||||||
self.add_special_mobjects(self.transformable_mobjects, *mobjects)
|
self.add_special_mobjects(self.transformable_mobjects, *mobjects)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user