본문 바로가기

html521

manim Homotopy %%manim -qm -v WARNING HomotopyAnimationEffect class HomotopyAnimationEffect(Scene):     def construct(self):         text=Tex("Hello World! GOOD").scale(3)         self.play(Write(text),run_time=2)         self.wait()         FRAME_HEIGHT=10         FRAME_Y_RADIUS=5         def homotopy(x, y, z, t):             alpha = (0.7 * x + FRAME_Y_RADIUS) / (FRAME_HEIGHT)             beta = squish_rate_f.. 2024. 5. 30.
manim graph plot : %%manim -qm -v WARNING TangentLineExampleclass TangentLineExample(Scene): def construct(self): self.camera.background_color=WHITE axes = Axes( x_range=[-10, 10, 1], y_range=[-2, 6, 1], tips=True, axis_config={"include_numbers": True}, ) axes.set_color(BLUE) graph=axes.plot(lambda x: x**2,x_range=[-2,2]) grap.. 2024. 5. 29.
manim ValueTracker class example %%manim -qm -v WARNING TangentLineExample class TangentLineExample(Scene):     def construct(self):         self.camera.background_color=WHITE         number_plane = NumberPlane(             x_range=[-20,20],y_range=[-5,5],             x_length=18,y_length=5,             background_line_style={                 "stroke_color": TEAL,                 "stroke_width": 4,                 "stroke_opaci.. 2024. 5. 28.
manim linearTransform example %%manim -qm -v WARNING LinearTransformationSceneExampleclass LinearTransformationSceneExample(LinearTransformationScene): def __init__(self, **kwargs): LinearTransformationScene.__init__( self, show_coordinates=True, leave_ghost_vectors=True, **kwargs ) def construct(self): v1=Vector([-2,1]) v1_added=self.add_vector(v1.. 2024. 5. 26.