mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* adding codespell precommit hook * adding codespell config file * fixing typos * tweaking variable names to please codespell
29 lines
626 B
Python
29 lines
626 B
Python
from manim import *
|
|
|
|
|
|
class SquareToCircle(Scene):
|
|
def construct(self):
|
|
square = Square()
|
|
circle = Circle()
|
|
self.play(Transform(square, circle))
|
|
|
|
|
|
class FunctionLikeTest(Scene):
|
|
def construct(self):
|
|
assert "FunctionLike" in globals()
|
|
a = FunctionLike()
|
|
self.play(FadeIn(a))
|
|
|
|
|
|
class NoAllTest(Scene):
|
|
def construct(self):
|
|
assert "test_plugin" in globals()
|
|
a = test_plugin.NoAll()
|
|
self.play(FadeIn(a))
|
|
|
|
|
|
class WithAllTest(Scene):
|
|
def construct(self):
|
|
assert "WithAll" in globals()
|
|
a = WithAll()
|
|
self.play(FadeIn(a))
|