A community-maintained Python framework for creating mathematical animations.
Merge branch 'newExamples' of github.com:MysaaJava/manim into newExamples
MysaaJava0f2324fc9992
diff --cc docs/source/examples/shapes_images_positions.rstindex 2b51a715a,bdad9b9f1..872deb540--- a/docs/source/examples/shapes_images_positions.rst+++ b/docs/source/examples/shapes_images_positions.rst@@@ -20,22 -20,20 +20,19 @@@ Shapes, Images and Position.. manim:: PointMovingOnShapesclass PointMovingOnShapes(Scene):-def construct(self):-- circle = Circle(radius= 1, color=BLUE)-+ circle = Circle(radius=1, color=BLUE)dot = Dot()- dot2= dot.copy().shift(RIGHT)+ dot2 = dot.copy().shift(RIGHT)self.add(dot)-- line=Line(np.array([3,0,0]),np.array([5,0,0]))++ line = Line([3, 0, 0], [5, 0, 0])self.add(line)--+self.play(GrowFromCenter(circle))- self.play(Transform(dot,dot2))- self.play(MoveAlongPath(dot,circle), run_time= 2, rate_func=linear)- self.play(Rotating(dot, about_point=np.array((2, 0, 0.))), run_time=1.5)+ self.play(Transform(dot, dot2))+ self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)+ self.play(Rotating(dot, about_point=[2, 0, 0]), run_time=1.5)self.wait()