mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-05-17 18:55:54 +08:00
11 lines
322 B
Python
11 lines
322 B
Python
from manim import *
|
|
|
|
|
|
class SurroundingRectangleTest(Scene):
|
|
def construct(self):
|
|
rectangle = Rectangle(width=1, height=1, color=WHITE, fill_opacity=1.0)
|
|
self.add(rectangle)
|
|
|
|
surrounding_rectangle = SurroundingRectangle(rectangle, color=GREEN, buff=0.0)
|
|
self.add(surrounding_rectangle)
|