mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +08:00
Changing the way VMobject handles its internal bezier curves so as to eliminate the need for sup_paths
This commit is contained in:
@ -843,7 +843,7 @@ class CylinderModel(Scene):
|
||||
shift_val = 0.1 * LEFT + 0.2 * UP
|
||||
scale_factor = get_norm(RIGHT - shift_val)
|
||||
movers = VGroup(self.warped_grid, self.unit_circle)
|
||||
self.unit_circle.insert_n_anchor_points(50)
|
||||
self.unit_circle.insert_n_curves(50)
|
||||
|
||||
stream_lines = self.get_stream_lines()
|
||||
stream_lines.scale(scale_factor)
|
||||
@ -4493,7 +4493,7 @@ class BroughtToYouBy(PiCreatureScene):
|
||||
math.move_to(self.pi_creatures)
|
||||
|
||||
spiral = Line(0.5 * RIGHT, 0.5 * RIGHT + 70 * UP)
|
||||
spiral.insert_n_anchor_points(1000)
|
||||
spiral.insert_n_curves(1000)
|
||||
from old_projects.zeta import zeta
|
||||
spiral.apply_complex_function(zeta)
|
||||
step = 0.1
|
||||
|
Reference in New Issue
Block a user