mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* Automatically import Plugins Specify plugins using CLI and config file Signed-off-by: Naveen M K <naveen@syrusdark.website> * Fix Doc tests * clean manim.cfg * Add more explanatory docs * add info about plugins site * use property method Co-authored-by: friedkeenan <friedkeenan@protonmail.com> * use types module and f-strings * Add tests * lint * remove --plugins it seems it is not possible currently to implement that * fix doc tests * don't define unnecessary variables * Apply suggestions from code review Co-authored-by: Leo Torres <dleonardotn@gmail.com> Co-authored-by: friedkeenan <friedkeenan@protonmail.com> Co-authored-by: Leo Torres <dleonardotn@gmail.com>
29 lines
625 B
Python
29 lines
625 B
Python
from manim import *
|
|
|
|
|
|
class SquareToCircle(Scene):
|
|
def construct(self):
|
|
square = Square()
|
|
circle = Circle()
|
|
self.play(Transform(square, circle))
|
|
|
|
|
|
class FunctionLikeTest(Scene):
|
|
def contruct(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))
|