Minor changes and renaming

This commit is contained in:
Grant Sanderson
2018-07-11 11:33:23 -07:00
parent e514bd66b5
commit a5adb90ae8
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from big_ol_pile_of_manim_imports import * from big_ol_pile_of_manim_imports import *

View File

@ -13,6 +13,9 @@ class ComplexAnalysisOverlay(Scene):
class AnalyzeZSquared(ComplexTransformationScene, ZoomedScene): class AnalyzeZSquared(ComplexTransformationScene, ZoomedScene):
CONFIG = { CONFIG = {
"plane_config": {
"line_frequency": 0.1,
},
"num_anchors_to_add_per_line": 20, "num_anchors_to_add_per_line": 20,
"complex_homotopy": lambda z, t: z**(1.0 + t), "complex_homotopy": lambda z, t: z**(1.0 + t),
"zoom_factor": 0.05, "zoom_factor": 0.05,
@ -169,6 +172,8 @@ class AnalyzeZSquared(ComplexTransformationScene, ZoomedScene):
def get_plane(self): def get_plane(self):
top_plane = NumberPlane( top_plane = NumberPlane(
y_radius=FRAME_HEIGHT / 2, y_radius=FRAME_HEIGHT / 2,
x_line_frequency=0.1,
y_line_frequency=0.1,
) )
self.prepare_for_transformation(top_plane) self.prepare_for_transformation(top_plane)
bottom_plane = top_plane.copy() bottom_plane = top_plane.copy()