Fill
Animation Parameters#
Paremeters - as mentioned in Azarzadvillas Documentation - are:
-
Constructor : -
self.play()
-self.add()
-
Parameters :
-
run_time
: The duration of the animation- float (ex:
3
) - Optional
- Default:
DEFAULT_ANIMATION_RUN_TIME
- float (ex:
Draw Border Then Fill#
from manimlib import *
class AnimationDrawBorderThenFill(Scene):
def construct(self):
square = Square(fill_opacity=1.0, color=GREEN)
self.add(square)
self.play(DrawBorderThenFill(square))
from manim import *
class AnimationDrawBorderThenFill(Scene):
def construct(self):
square = Square(fill_opacity=1.0, color=GREEN)
self.add(square)
self.play(DrawBorderThenFill(square))