13np: Fix intro

This commit is contained in:
Daniel Molkentin 2017-09-01 17:12:50 +02:00
parent be90f37a1d
commit 6ae63b7fde
2 changed files with 68 additions and 71 deletions

View file

@ -8,9 +8,10 @@ scheduleUrl = 'http://live.ber.c3voc.de/releases/public/13np.xml'
def introFrames(args): def introFrames(args):
#fade in title #fade in title
frames = 3*fps frames = 2*fps
for i in range(0, frames): for i in range(0, frames):
yield( yield(
('personnames', 'style', 'opacity', 0),
('title', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), ('title', 'style', 'opacity', easeInQuad(i, 0, 1, frames)),
) )
# fade in subtitle and names # fade in subtitle and names
@ -18,16 +19,14 @@ def introFrames(args):
for i in range(0, frames): for i in range(0, frames):
yield( yield(
('title', 'style', 'opacity', 1), ('title', 'style', 'opacity', 1),
('subtitle', 'style', 'opacity', easeInQuad(i, 0, 1, frames)),
('personnames', 'style', 'opacity', easeInQuad(i, 0, 1, frames)), ('personnames', 'style', 'opacity', easeInQuad(i, 0, 1, frames)),
) )
#show whole image for 2 seconds #show whole image for 3 seconds
frames = 2*fps frames = 3*fps
for i in range(0, frames): for i in range(0, frames):
yield( yield(
('title', 'style', 'opacity', 1), ('title', 'style', 'opacity', 1),
('personnames', 'style', 'opacity', 1), ('personnames', 'style', 'opacity', 1),
('subtitle', 'style', 'opacity', 1),
) )
def backgroundFrames(parameters): def backgroundFrames(parameters):
@ -81,21 +80,21 @@ def debug():
} }
) )
render('outro.svg', # render('outro.svg',
'../outro.ts', # '../outro.ts',
outroFrames # outroFrames
) # )
#
render( # render(
'background.svg', # 'background.svg',
'../background.ts', # '../background.ts',
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):

View file

@ -15,7 +15,7 @@
viewBox="0 0 1920 1080" viewBox="0 0 1920 1080"
id="svg2" id="svg2"
version="1.1" version="1.1"
inkscape:version="0.92.1 r15371" inkscape:version="0.91 r13725"
sodipodi:docname="intro.svg"> sodipodi:docname="intro.svg">
<defs <defs
id="defs4"> id="defs4">
@ -137,11 +137,11 @@
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="0.35" inkscape:zoom="0.34"
inkscape:cx="1033.3333" inkscape:cx="926.78049"
inkscape:cy="458.09524" inkscape:cy="824.55794"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer2" inkscape:current-layer="layer3"
showgrid="false" showgrid="false"
units="px" units="px"
inkscape:window-width="1366" inkscape:window-width="1366"
@ -150,7 +150,12 @@
inkscape:window-y="27" inkscape:window-y="27"
inkscape:window-maximized="1" inkscape:window-maximized="1"
showguides="true" showguides="true"
inkscape:guide-bbox="true" /> inkscape:guide-bbox="true">
<sodipodi:guide
position="1101.4085,1147.8873"
orientation="1,0"
id="guide4266" />
</sodipodi:namedview>
<metadata <metadata
id="metadata7"> id="metadata7">
<rdf:RDF> <rdf:RDF>
@ -178,10 +183,10 @@
<rect <rect
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5947" id="rect5947"
width="1451.4285" width="757.14282"
height="3" height="3"
x="110" x="1103.1431"
y="503.57147" /> y="573.00006" />
</g> </g>
<g <g
inkscape:label="Icons" inkscape:label="Icons"
@ -317,46 +322,39 @@
id="layer3" id="layer3"
inkscape:label="Text" inkscape:label="Text"
style="display:inline;"> style="display:inline;">
<g <flowRoot
id="textblock" xml:space="preserve"
transform="matrix(0.9364115,0,0,1,-39.68849,-168)"> id="title"
<flowRoot style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:'Alte Haas Grotesk';-inkscape-font-specification:'Alte Haas Grotesk';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
transform="translate(20.297422,482.85714)" transform="matrix(0.9364115,0,0,1,968.74682,-9.14286)"><flowRegion
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:'Alte Haas Grotesk';-inkscape-font-specification:'Alte Haas Grotesk';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="flowRegion5059"><rect
id="title" id="rect5061"
xml:space="preserve"><flowRegion width="869.94299"
id="flowRegion5059"><rect height="502.85712"
y="62.857143" x="137.14285"
x="137.14285" y="62.857143" /></flowRegion><flowPara
height="222.85713" style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:80px;line-height:120.00000477%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1"
width="1657.1427" id="flowPara5065">$title</flowPara></flowRoot> <flowRoot
id="rect5061" /></flowRegion><flowPara xml:space="preserve"
id="flowPara5065" id="personnames"
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:80px;line-height:120.00000477%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1">$TITLE</flowPara></flowRoot> <flowRoot style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:'Alte Haas Grotesk';-inkscape-font-specification:'Alte Haas Grotesk';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
transform="translate(20.297422,720.8076)" transform="matrix(0.9364115,0,0,1,969.88968,532.80761)"><flowRegion
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:'Alte Haas Grotesk';-inkscape-font-specification:'Alte Haas Grotesk';letter-spacing:0px;word-spacing:0px;display:inline;fill:#808080;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="flowRegion5059-9"><rect
id="subtitle" id="rect5061-3"
xml:space="preserve"><flowRegion width="859.90948"
id="flowRegion5059-5"><rect height="228.57138"
style="fill:#808080;fill-opacity:1" x="137.14285"
y="62.857143" y="62.857143" /></flowRegion><flowPara
x="137.14285" style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:80px;line-height:120.00000477%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1"
height="222.85713" id="flowPara5121">$personnames</flowPara></flowRoot> <flowRoot
width="1657.1427" xml:space="preserve"
id="rect5061-4" /></flowRegion><flowPara id="flowRoot4268"
id="flowPara5065-4" style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Umpush;font-style:normal;font-weight:normal;font-size:40px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:Umpush;font-stretch:normal;font-variant:normal"><flowRegion
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:80px;line-height:120.00000477%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#cccccc;fill-opacity:1">$SUBTITLE</flowPara></flowRoot> <flowRoot id="flowRegion4270"><rect
transform="translate(18.161609,299.66475)" id="rect4272"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:'Alte Haas Grotesk';-inkscape-font-specification:'Alte Haas Grotesk';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" width="2.8169014"
id="speaker" height="297.18311"
xml:space="preserve"><flowRegion x="2340.845"
id="flowRegion5059-9"><rect y="15.211267" /></flowRegion><flowPara
y="62.857143" id="flowPara4274"></flowPara></flowRoot> </g>
x="137.14285"
height="108.5714"
width="1378.6071"
id="rect5061-3" /></flowRegion><flowPara
id="flowPara5121"
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:80px;line-height:120.00000477%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1">$SPEAKER</flowPara></flowRoot> </g>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 12 MiB