From af9531c1080a8db43b9a834018472ae7394b6efb Mon Sep 17 00:00:00 2001 From: Maximilian Jalea Date: Tue, 27 Aug 2019 19:52:08 +0300 Subject: [PATCH] modified foss4g19 pause --- foss4g-2019/__init__.py | 19 ++++++----- foss4g-2019/artwork/pause.svg | 60 +++++++++++++++++++++++++---------- 2 files changed, 52 insertions(+), 27 deletions(-) diff --git a/foss4g-2019/__init__.py b/foss4g-2019/__init__.py index 75ab35c..ec67994 100644 --- a/foss4g-2019/__init__.py +++ b/foss4g-2019/__init__.py @@ -51,13 +51,12 @@ def outroFrames(args): ) def pauseFrames(params): - # 2 sec Fadein Text1 frames = 2*fps for i in range(0, frames): yield ( ('text1', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)), - ('text2', 'style', 'opacity', 0) + ('text2', 'style', 'opacity', 0), ) # 2 sec Text1 @@ -65,7 +64,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text1', 'style', 'opacity', 1), - ('text2', 'style', 'opacity', 0) + ('text2', 'style', 'opacity', 0), ) # 2 sec Fadeout Text1 @@ -73,7 +72,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text1', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames))), - ('text2', 'style', 'opacity', 0) + ('text2', 'style', 'opacity', 0), ) # 2 sec blank @@ -81,7 +80,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text1', 'style', 'opacity', 0), - ('text2', 'style', 'opacity', 0) + ('text2', 'style', 'opacity', 0), ) # 2 sec Fadein Text2 @@ -89,7 +88,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text2', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)), - ('text1', 'style', 'opacity', 0) + ('text1', 'style', 'opacity', 0), ) @@ -98,7 +97,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text2', 'style', 'opacity', 1), - ('text1', 'style', 'opacity', 0) + ('text1', 'style', 'opacity', 0), ) # 2 sec Fadeout Text2 @@ -106,7 +105,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text2', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames))), - ('text1', 'style', 'opacity', 0) + ('text1', 'style', 'opacity', 0), ) # 2 sec blank @@ -114,7 +113,7 @@ def pauseFrames(params): for i in range(0, frames): yield ( ('text1', 'style', 'opacity', 0), - ('text2', 'style', 'opacity', 0) + ('text2', 'style', 'opacity', 0), ) def debug(): @@ -151,7 +150,7 @@ def tasks(queue, args, idlist, skiplist): parameters = { '$id': event['id'], '$title': event['title'], -# '$subtitle': event['subtitle'], + '$subtitle': event['subtitle'], '$personnames': event['personnames'] } )) diff --git a/foss4g-2019/artwork/pause.svg b/foss4g-2019/artwork/pause.svg index 5ca454a..4aee591 100755 --- a/foss4g-2019/artwork/pause.svg +++ b/foss4g-2019/artwork/pause.svg @@ -59,8 +59,8 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.5" - inkscape:cx="951.55258" - inkscape:cy="302.89237" + inkscape:cx="1018.3705" + inkscape:cy="672.02477" inkscape:document-units="px" inkscape:current-layer="layer_background" showgrid="false" @@ -70,7 +70,10 @@ inkscape:window-height="1080" inkscape:window-x="0" inkscape:window-y="0" - inkscape:window-maximized="0"> + inkscape:window-maximized="0" + inkscape:snap-object-midpoints="true" + inkscape:snap-bbox="true" + inkscape:snap-bbox-midpoints="true"> + + @@ -134,14 +151,23 @@ + + transform="matrix(8.6680277,0,0,8.6680277,-264.24652,-10513.466)" + style="fill:#01c48e;fill-opacity:1"> + style="opacity:1;fill:#01c48e;fill-opacity:1"> pause + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:48.00025558px;line-height:89.99999762%;font-family:'Linux Biolinum O';-inkscape-font-specification:'Linux Biolinum O Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#01c48e;fill-opacity:1;stroke:none">pause