mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Beginning Leibniz project
This commit is contained in:
@ -176,11 +176,12 @@ def complex_string(complex_num):
|
||||
|
||||
class ComplexPlane(NumberPlane):
|
||||
CONFIG = {
|
||||
"color" : GREEN,
|
||||
"color" : BLUE,
|
||||
"unit_to_spatial_width" : 1,
|
||||
"line_frequency" : 1,
|
||||
"faded_line_frequency" : 0.5,
|
||||
"number_at_center" : complex(0),
|
||||
"number_scale_factor" : 0.5,
|
||||
}
|
||||
def __init__(self, **kwargs):
|
||||
digest_config(self, kwargs)
|
||||
@ -239,7 +240,6 @@ class ComplexPlane(NumberPlane):
|
||||
self.add(Line(ORIGIN, end_point, **config))
|
||||
return self
|
||||
|
||||
|
||||
class ComplexFunction(ApplyPointwiseFunction):
|
||||
def __init__(self, function, mobject = ComplexPlane, **kwargs):
|
||||
if "path_func" not in kwargs:
|
||||
|
Reference in New Issue
Block a user