mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-08-06 00:48:56 +08:00
General changes, got basic visualization of an activation function working for a
convolutinoal layer.
This commit is contained in:
19
tests/test_succession.py
Normal file
19
tests/test_succession.py
Normal file
@ -0,0 +1,19 @@
|
||||
from manim import *
|
||||
|
||||
class TestSuccession(Scene):
|
||||
|
||||
def construct(self):
|
||||
white_dot = Dot(color=WHITE)
|
||||
white_dot.shift(UP)
|
||||
|
||||
red_dot = Dot(color=RED)
|
||||
|
||||
self.play(
|
||||
Succession(
|
||||
Create(white_dot),
|
||||
white_dot.animate.shift(RIGHT),
|
||||
Create(red_dot),
|
||||
Wait(1),
|
||||
Uncreate(red_dot),
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user