mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
18 lines
447 B
Python
18 lines
447 B
Python
from __future__ import annotations
|
|
|
|
from manim import *
|
|
from manim.utils.testing.frames_comparison import frames_comparison
|
|
|
|
__module_test__ = "modifier_methods"
|
|
|
|
|
|
@frames_comparison
|
|
def test_Gradient(scene):
|
|
c = Circle(fill_opacity=1).set_color(color=[PURE_YELLOW, GREEN])
|
|
scene.add(c)
|
|
|
|
|
|
@frames_comparison
|
|
def test_GradientRotation(scene):
|
|
c = Circle(fill_opacity=1).set_color(color=[PURE_YELLOW, GREEN]).rotate(PI)
|
|
scene.add(c)
|