diff --git a/osc18/__init__.py b/osc18/__init__.py index b1b643b..7151a21 100644 --- a/osc18/__init__.py +++ b/osc18/__init__.py @@ -16,99 +16,79 @@ def bounce(i, min, max, frames): return max - easeInOutQuad(i - frames/2, min, max, frames/2) def introFrames(parameters): - move=50 - # 3 Sekunde Text Fadein - frames = 3*fps + frames = 1*fps for i in range(0, frames): yield ( ('textblock', 'style', 'opacity', "%.4f" % easeLinear(i, 0, 1, frames)), - ('textblock', 'attr', 'transform', 'translate(%.4f, 0)' % easeOutQuad(i, -move, move, frames)), ) - # 2 Sekunden stehen lassen - frames = 2*fps + # 4 Sekunden stehen lassen + frames = 4*fps for i in range(0, frames): yield () - # 3 Sekunde Text Fadeout - frames = 3*fps + # 1 Sekunde Fade to black layer + frames = 1*fps for i in range(0, frames): yield ( - ('textblock', 'style', 'opacity', "%.4f" % easeLinear(i, 1, -1, frames)), - ('textblock', 'attr', 'transform', 'translate(%.4f, 0)' % easeInQuad(i, 0, move, frames)), + ('fadeout', 'style', 'opacity', "%.4f" % easeLinear(i, 0, 1, frames)), ) def pauseFrames(parameters): - frames = 25*3 - for i in range(0, frames): + frames = 3*fps + colors = ['#21A4D4', '#73BA25', '#6DA741', '#35B9AB', '#00A489', '#173F4F'] + yield ( + ('pause_bg', 'style', 'fill', "%s" % '#173F4F'), + ('pause_bg', 'attr', 'opacity', '%.4f' % 1.0), + ) + for i in range(0, len(colors)): + z = 0 + for z in range(0,frames): + yield ( + ('pause_bg_alt', 'style', 'fill', "%s" % colors[i]), + ('pause_bg_alt', 'attr', 'opacity', '%.4f' % easeLinear(z, 0.0, 1.0, frames)), + ) yield ( - ('pause', 'attr', 'flood-opacity', '%.4f' % bounce(i, 0.0, 1.0, frames)), + ('pause_bg', 'style', 'fill', "%s" % colors[i]), + ('pause_bg', 'attr', 'opacity', '%.4f' % 1.0), ) - frames = 25*1 - for i in range(0, frames): - yield ( - ('glowFlood', 'attr', 'flood-opacity', '%.4f' % 0), - ) - - def outroFrames(p): # 5 Sekunden stehen bleiben frames = 5*fps for i in range(0, frames): yield [] -def backgroundFrames(parameters): - frames = 25*3 - for i in range(0, frames): - yield ( - ('pause', 'attr', 'flood-opacity', '%.4f' % bounce(i, 0.0, 1.0, frames)), - ) - - frames = 25*1 - for i in range(0, frames): - yield ( - ('glowFlood', 'attr', 'flood-opacity', '%.4f' % 0), - ) - - frames = 20*fps - for i in range(0, frames): - xshift = 300 - ((i+1) * (300/frames)) - yshift = 150 - ((i+1) * (150/frames)) - yield( - ('pillgroup', 'attr', 'transform', 'translate(%.4f, %.4f)' % (xshift, yshift)), - ) - def debug(): - render( - 'intro.svg', - '../intro.ts', - introFrames, - { - '$ID': 4711, - '$TITLE': "Long Long Long title is LONG", - '$SUBTITLE': 'Long Long Long Long subtitle is LONGER', - '$SPEAKER': 'Long Name of Dr. Dr. Prof. Dr. Long Long' - } - ) - +# render( +# 'intro.svg', +# '../intro.ts', +# introFrames, +# { +# '$ID': 4711, +# '$TITLE': "Long Long Long title is LONG", +# '$SUBTITLE': 'Long Long Long Long subtitle is LONGER', +# '$SPEAKER': 'Long Name of Dr. Dr. Prof. Dr. Long Long' +# } +# ) +# render( 'pause.svg', '../pause.ts', pauseFrames ) - render( - 'outro.svg', - '../outro.ts', - outroFrames - ) - +# render( +# 'outro.svg', +# '../outro.ts', +# outroFrames +# ) +# def tasks(queue, args, idlist, skiplist): # iterate over all events extracted from the schedule xml-export for event in events(scheduleUrl): - if event['room'] not in ('Galerie', 'Saal (Main Hall)'): + if event['room'] not in ('105 (Main)', '155 (Medium)', '107 (Small)'): print("skipping room %s (%s [%s])" % (event['room'], event['title'], event['id'])) continue if not (idlist==[]): @@ -147,11 +127,3 @@ def tasks(queue, args, idlist, skiplist): outfile = 'pause.ts', sequence = pauseFrames )) - - # place the background-sequence into the queue - if not "bg" in skiplist: - queue.put(Rendertask( - infile = 'background.svg', - outfile = 'background.ts', - sequence = backgroundFrames - )) diff --git a/osc18/artwork/hexagons.png b/osc18/artwork/hexagons.png new file mode 100644 index 0000000..0d3b6a1 Binary files /dev/null and b/osc18/artwork/hexagons.png differ diff --git a/osc18/artwork/intro.svg b/osc18/artwork/intro.svg index 1952093..6223091 100644 --- a/osc18/artwork/intro.svg +++ b/osc18/artwork/intro.svg @@ -15,8 +15,9 @@ viewBox="0 0 1920 1080" id="svg2" version="1.1" - inkscape:version="0.92.2 5c3e80d, 2017-08-06" - sodipodi:docname="intro.svg"> + inkscape:version="0.91 r13725" + sodipodi:docname="intro.svg" + enable-background="new"> - - + inkscape:guide-bbox="true" + inkscape:snap-global="false"> + + + + id="guide5827" /> @@ -210,3879 +199,68 @@ x="0" y="0" /> + id="g5758" + transform="matrix(0.51253329,0,0,0.51253329,1567.9865,-169.71111)" + style="fill:#ffffff"> + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="g5769" + transform="matrix(1.7539,0,0,1.7539,-611.6,-134.13)" + style="fill:#ffffff"> - - - - - @@ -4090,60 +268,71 @@ inkscape:groupmode="layer" id="layer3" inkscape:label="Text" - style="display:inline;"> + style="display:inline"> + id="textblock"> $TITLE $SUBTITLE $ID $TITLE $SUBTITLE $SPEAKER + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:62.0037384px;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:#35b9ab;fill-opacity:1">$SPEAKER + + OpenSUSE Conference 2018 + + + diff --git a/osc18/artwork/official-logo-monochrome.svg b/osc18/artwork/official-logo-monochrome.svg new file mode 100644 index 0000000..6c91bb3 --- /dev/null +++ b/osc18/artwork/official-logo-monochrome.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/osc18/artwork/outro.svg b/osc18/artwork/outro.svg index fe8ba7d..fa16b96 100644 --- a/osc18/artwork/outro.svg +++ b/osc18/artwork/outro.svg @@ -14,7 +14,7 @@ height="1080" id="svg2" version="1.1" - inkscape:version="0.92.2 5c3e80d, 2017-08-06" + inkscape:version="0.91 r13725" sodipodi:docname="outro.svg"> @@ -180,18 +180,6 @@ id="path1438" inkscape:connector-curvature="0" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + x="295.14285" + y="673.93365" /> More Recordings available on media.ccc.de + x="989.0517" + y="752.97003" + style="font-style:normal;font-variant:normal;font-weight:200;font-stretch:normal;font-size:45px;line-height:125%;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Ultra-Light';text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#ffffff;fill-opacity:1">More Recordings available on media.ccc.de - www.ccc.de events.opensuse.org + id="tspan5804" + x="491.84082" + y="204.7789" + style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:70px;font-family:'Source Sans Pro';-inkscape-font-specification:'Source Sans Pro Light';text-anchor:middle;text-align:center">OpenSUSE Conference 2018was brought to you by: diff --git a/osc18/artwork/pause.svg b/osc18/artwork/pause.svg index eff1e45..10930ed 100644 --- a/osc18/artwork/pause.svg +++ b/osc18/artwork/pause.svg @@ -7,13 +7,12 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="svg2" sodipodi:docname="pause.svg" - inkscape:version="0.92.2 5c3e80d, 2017-08-06" + inkscape:version="0.91 r13725" x="0px" y="0px" width="1920px" @@ -23,7 +22,7 @@ xml:space="preserve">image/svg+xmlPAUSE - \ No newline at end of file diff --git a/osc18/artwork/video-team.png b/osc18/artwork/video-team.png new file mode 100644 index 0000000..ceb962d Binary files /dev/null and b/osc18/artwork/video-team.png differ diff --git a/osc18/artwork/video-team.svg b/osc18/artwork/video-team.svg new file mode 100644 index 0000000..f41ff0a --- /dev/null +++ b/osc18/artwork/video-team.svg @@ -0,0 +1,143 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + Video + Team + +