outro
This commit is contained in:
parent
af2d2a0cb5
commit
9c11dc70f8
2 changed files with 226 additions and 93 deletions
|
@ -136,38 +136,27 @@ def introFrames(parameters):
|
|||
)
|
||||
|
||||
def outroFrames(p):
|
||||
# 3 Sekunden VOC-Logo
|
||||
# 3 Sekunden Stillstand
|
||||
frames = 3*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('b', 'style', 'opacity', '0'),
|
||||
('black', 'style', 'opacity', '0'),
|
||||
('a', 'style', 'opacity', '1'),
|
||||
('plate', 'style', 'opacity', '%.4f' % 0),
|
||||
)
|
||||
|
||||
# 1 Sekunden Fade to Black
|
||||
frames = 1*fps
|
||||
# 2 Sekunden Lizenz
|
||||
frames = 2*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('b', 'style', 'opacity', '0'),
|
||||
('black', 'style', 'opacity', '%.4f' % easeLinear(i, 0, 1, frames)),
|
||||
('a', 'style', 'opacity', '%.4f' % easeLinear(i, 1, -1, frames)),
|
||||
('plate', 'style', 'opacity', '%.4f' % easeLinear(i, 0, 1, frames)),
|
||||
)
|
||||
|
||||
# 1 Sekunden Fade in CCC-Text
|
||||
frames = 1*fps
|
||||
# 2 Sekunden Stillstand
|
||||
frames = 2*fps
|
||||
for i in range(0, frames):
|
||||
yield (
|
||||
('b', 'style', 'opacity', '%.4f' % easeLinear(i, 0, 1, frames)),
|
||||
('black', 'style', 'opacity', '1'),
|
||||
('a', 'style', 'opacity', '0'),
|
||||
('plate', 'style', 'opacity', '%.4f' % 1),
|
||||
)
|
||||
|
||||
# 3 Sekunden stay-there
|
||||
frames = 3*fps
|
||||
for i in range(0, frames):
|
||||
yield []
|
||||
|
||||
def debug():
|
||||
render(
|
||||
'intro.svg',
|
||||
|
@ -207,3 +196,8 @@ def tasks(queue, args):
|
|||
}
|
||||
))
|
||||
|
||||
queue.put(Rendertask(
|
||||
infile = 'outro.svg',
|
||||
outfile = 'outro.ts',
|
||||
sequence = outroFrames
|
||||
))
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 25 KiB |
Loading…
Add table
Reference in a new issue