Add debugging code for MRMCD2023 to see how long titles are handled.

This commit is contained in:
Alexander Brock 2023-08-30 17:15:45 +02:00
parent b25f59cdb9
commit 274bdbd21b

View file

@ -277,7 +277,7 @@ def introFrames(args):
('persons', 'style', 'opacity', 0), ('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0), ('id', 'style', 'opacity', 0),
) )
#sleep 1 #sleep
frames = round(6*fps*speedfactor) frames = round(6*fps*speedfactor)
for i in range(0, frames): for i in range(0, frames):
yield ( yield (
@ -294,6 +294,23 @@ def introFrames(args):
('id', 'style', 'opacity', 0), ('id', 'style', 'opacity', 0),
) )
def introShort(parameters):
frames = round(3*fps*speedfactor)
for i in range(0, frames):
yield (
('houses', 'style', 'opacity', 1),
('vr', 'style', 'opacity', 1),
('person', 'style', 'opacity', 1),
('personhit', 'style', 'opacity',0),
('motto', 'style', 'opacity', 1),
('text', 'style', 'opacity', 1),
('vr-darkening', 'style', 'opacity', .4),
('title', 'style', 'opacity', 0),
('subtitle', 'style', 'opacity', 0),
('persons', 'style', 'opacity', 0),
('id', 'style', 'opacity', 0),
)
def backgroundFrames(parameters): def backgroundFrames(parameters):
# 40 Sekunden # 40 Sekunden
@ -315,25 +332,9 @@ def backgroundFrames(parameters):
def outroFrames(args): def outroFrames(args):
#fadein outro graphics #fadein outro graphics
frames = 3*fps frames = 6*fps
for i in range(0, frames): for i in range(0, frames):
yield( yield(
('pillgroup', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
('logotext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
('c3voclogo', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
('c3voctext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
('bysalogo', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
('bysatext', 'style', 'opacity', easeInQuad(i, 0.01, 1, frames)),
)
frames = 3*fps
for i in range(0, frames):
yield(
('pillgroup', 'style', 'opacity', 1),
('logotext', 'style', 'opacity', 1),
('c3voclogo', 'style', 'opacity', 1),
('c3voctext', 'style', 'opacity', 1),
('bysalogo', 'style', 'opacity', 1),
('bysatext', 'style', 'opacity', 1),
) )
def pauseFrames(args): def pauseFrames(args):
@ -417,11 +418,22 @@ def debug():
# introFrames, # introFrames,
# { # {
# '$id': 7776, # '$id': 7776,
# '$title': 'StageWar live!', # '$title': 'Memetische Agitation des jungen Rechtsaußenspektrums: Mechanismen, Strategien, Narrative',
# '$subtitle': 'Metal Konzert', # '$subtitle': '',
# '$persons': 'www.stagewar.de' # '$persons': 'Vincent Knopp'
# } # }
# ) # )
render('intro.svg',
'../intro.ts',
introShort,
{
'$id': 7776,
'$title': 'Memetische Agitation des jungen Rechtsaussen-Spektrums: Mechanismen, Strategien, Narrative',
'$subtitle': '',
'$persons': 'Vincent Knopp'
}
)
# render('outro.svg', # render('outro.svg',
# '../outro.ts', # '../outro.ts',
@ -434,10 +446,10 @@ def debug():
# backgroundFrames # backgroundFrames
# ) # )
# #
render('pause.svg', # render('pause.svg',
'../pause.ts', # '../pause.ts',
pauseFrames # pauseFrames
) # )
def tasks(queue, args, idlist, skiplist): def tasks(queue, args, idlist, skiplist):