mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Don't default to smoothing for implicit curves
This commit is contained in:
parent
bf726667a8
commit
51a5086093
1 changed files with 4 additions and 2 deletions
|
@ -92,7 +92,7 @@ class ImplicitFunction(VMobject):
|
|||
y_range: Tuple[float, float] = (-FRAME_Y_RADIUS, FRAME_Y_RADIUS),
|
||||
min_depth: int = 5,
|
||||
max_quads: int = 1500,
|
||||
use_smoothing: bool = True,
|
||||
use_smoothing: bool = False,
|
||||
joint_type: str = 'no_joint',
|
||||
**kwargs
|
||||
):
|
||||
|
@ -110,7 +110,9 @@ class ImplicitFunction(VMobject):
|
|||
max_quads=max_quads,
|
||||
) # returns a list of lists of 2D points
|
||||
curves = [
|
||||
np.pad(curve, [(0, 0), (0, 1)]) for curve in curves if curve != []
|
||||
np.pad(curve, [(0, 0), (0, 1)])
|
||||
for curve in curves
|
||||
if curve != []
|
||||
] # add z coord as 0
|
||||
for curve in curves:
|
||||
self.start_new_path(curve[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue