diff --git a/archconf2020/__init__.py b/archconf2020/__init__.py
new file mode 100644
index 0000000..4690ed7
--- /dev/null
+++ b/archconf2020/__init__.py
@@ -0,0 +1,371 @@
+#!/usr/bin/python3
+
+import easing
+import renderlib
+
+# URL to Schedule-XML
+scheduleUrl = "https://conf.archlinux.org/schedule2020.xml"
+
+
+def introFrames(args):
+ # fade in logo
+ frames = 1 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ (
+ "logo",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0, 1, frames),
+ ),
+ ("conf_title", "style", "opacity", 0),
+ ("title", "style", "opacity", 0),
+ ("subtitle", "style", "opacity", 0),
+ ("persons", "style", "opacity", 0),
+ ("id", "style", "opacity", 0),
+ )
+ # fade in conf_title
+ frames = 1 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ (
+ "conf_title",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0, 1, frames),
+ ),
+ ("title", "style", "opacity", 0),
+ ("subtitle", "style", "opacity", 0),
+ ("persons", "style", "opacity", 0),
+ ("id", "style", "opacity", 0),
+ )
+
+ # show conf_title and logo for 1 second
+ frames = 1 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ ("logo", "style", "opacity", 1),
+ ("conf_title", "style", "opacity", 1),
+ ("title", "style", "opacity", 0),
+ ("subtitle", "style", "opacity", 0),
+ ("persons", "style", "opacity", 0),
+ ("id", "style", "opacity", 0),
+ )
+
+ # move logo and conf_title to right
+ frames = 2 * renderlib.fps
+ for i in range(0, frames):
+ xshift = (i + 1) * 135 / frames
+ yield (
+ ("logo", "style", "opacity", 1),
+ ("conf_title", "style", "opacity", 1),
+ ("title", "style", "opacity", 0),
+ ("subtitle", "style", "opacity", 0),
+ ("persons", "style", "opacity", 0),
+ ("id", "style", "opacity", 0),
+ ("logo", "attr", "transform", f"translate({xshift}, 0)"),
+ ("conf_title", "attr", "transform", f"translate({xshift}, 0)"),
+ )
+
+ # fade in title, subtitle, persons and id
+ frames = 2 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ ("title", "style", "opacity", easing.easeInQuad(i, 0, 1, frames)),
+ (
+ "subtitle",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0, 1, frames),
+ ),
+ (
+ "persons",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0, 1, frames),
+ ),
+ ("id", "style", "opacity", easing.easeInQuad(i, 0, 1, frames)),
+ (
+ "logo",
+ "attr",
+ "transform",
+ f"translate({xshift}, 0)",
+ ),
+ (
+ "conf_title",
+ "attr",
+ "transform",
+ f"translate({xshift}, 0)",
+ ),
+ )
+ # show whole image for 2 seconds
+ frames = 2 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ ("title", "style", "opacity", 1),
+ ("subtitle", "style", "opacity", 1),
+ ("persons", "style", "opacity", 1),
+ ("id", "style", "opacity", 1),
+ (
+ "logo",
+ "attr",
+ "transform",
+ f"translate({xshift}, 0)",
+ ),
+ (
+ "conf_title",
+ "attr",
+ "transform",
+ f"translate({xshift}, 0)",
+ ),
+ )
+
+
+def backgroundFrames(parameters):
+ frames = 20 * renderlib.fps
+ for i in range(0, frames):
+ xshift = (i + 1) * 300 / frames
+ yshift = (i + 1) * (150 / frames)
+ yield (
+ (
+ "logo_pattern",
+ "attr",
+ "transform",
+ "translate(%.4f, %.4f)" % (xshift, yshift),
+ ),
+ )
+
+ frames = 20 * renderlib.fps
+ for i in range(0, frames):
+ xshift = 300 - ((i + 1) * (300 / frames))
+ yshift = 150 - ((i + 1) * (150 / frames))
+ yield (
+ (
+ "logo_pattern",
+ "attr",
+ "transform",
+ "translate(%.4f, %.4f)" % (xshift, yshift),
+ ),
+ )
+
+
+def outroFrames(args):
+ # fadein outro graphics
+ frames = 3 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ (
+ "logo",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ (
+ "conf_title",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ (
+ "c3voclogo",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ (
+ "c3voctext",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ (
+ "bysalogo",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ (
+ "bysatext",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.01, 1, frames),
+ ),
+ )
+ frames = 3 * renderlib.fps
+ for i in range(0, frames):
+ yield (
+ ("logo", "style", "opacity", 1),
+ ("conf_title", "style", "opacity", 1),
+ ("c3voclogo", "style", "opacity", 1),
+ ("c3voctext", "style", "opacity", 1),
+ ("bysalogo", "style", "opacity", 1),
+ ("bysatext", "style", "opacity", 1),
+ )
+
+
+def pauseFrames(args):
+ # fade heartgroups
+ frames = int(0.5 * renderlib.fps)
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.25, 0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 1, -0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.25, 0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 1, -0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.25, 0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 1, -0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.25, 0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 1, -0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 0.25, 0.75, frames),
+ ),
+ )
+ for i in range(0, frames):
+ yield (
+ (
+ "group",
+ "style",
+ "opacity",
+ easing.easeInQuad(i, 1, -0.75, frames),
+ ),
+ )
+
+
+def debug():
+ render( # noqa
+ "intro.svg",
+ "../intro.ts",
+ introFrames,
+ {
+ "$id": 7776,
+ "$title": "StageWar live!",
+ "$subtitle": "Metal Konzert",
+ "$persons": "www.stagewar.de",
+ },
+ )
+
+ render("outro.svg", "../outro.ts", outroFrames) # noqa
+
+ render("background.svg", "../background.ts", backgroundFrames) # noqa
+
+ render("pause.svg", "../pause.ts", pauseFrames) # noqa
+
+
+def tasks(queue, args, idlist, skiplist):
+ # iterate over all events extracted from the schedule xml-export
+ for event in renderlib.events(scheduleUrl):
+ if not (idlist == []):
+ if 000000 in idlist:
+ print("skipping id (%s [%s])" % (event["title"], event["id"]))
+ continue
+ if int(event["id"]) not in idlist:
+ print("skipping id (%s [%s])" % (event["title"], event["id"]))
+ continue
+
+ # generate a task description and put them into the queue
+ queue.put(
+ renderlib.Rendertask(
+ infile="intro.svg",
+ outfile=str(event["id"]) + ".ts",
+ sequence=introFrames,
+ parameters={
+ "$id": event["id"],
+ "$title": event["title"],
+ "$subtitle": event["subtitle"],
+ "$persons": event["personnames"],
+ },
+ )
+ )
+
+ # place a task for the outro into the queue
+ if "out" not in skiplist:
+ queue.put(
+ renderlib.Rendertask(
+ infile="outro.svg", outfile="outro.ts", sequence=outroFrames
+ )
+ )
+
+ # place the pause-sequence into the queue
+ if "pause" not in skiplist:
+ queue.put(
+ renderlib.Rendertask(
+ infile="pause.svg", outfile="pause.ts", sequence=pauseFrames
+ )
+ )
+
+ # place the background-sequence into the queue
+ if "bg" not in skiplist:
+ queue.put(
+ renderlib.Rendertask(
+ infile="background.svg",
+ outfile="background.ts",
+ sequence=backgroundFrames,
+ )
+ )
diff --git a/archconf2020/artwork/archlinux-logo-with-text.svg b/archconf2020/artwork/archlinux-logo-with-text.svg
new file mode 100644
index 0000000..5fd0716
--- /dev/null
+++ b/archconf2020/artwork/archlinux-logo-with-text.svg
@@ -0,0 +1,156 @@
+
+
+
+
diff --git a/archconf2020/artwork/archlinux-logo.svg b/archconf2020/artwork/archlinux-logo.svg
new file mode 100644
index 0000000..2c65e8b
--- /dev/null
+++ b/archconf2020/artwork/archlinux-logo.svg
@@ -0,0 +1,131 @@
+
+
diff --git a/archconf2020/artwork/background.svg b/archconf2020/artwork/background.svg
new file mode 100644
index 0000000..22c8043
--- /dev/null
+++ b/archconf2020/artwork/background.svg
@@ -0,0 +1,2679 @@
+
+
diff --git a/archconf2020/artwork/by-sa.svg b/archconf2020/artwork/by-sa.svg
new file mode 100644
index 0000000..60b44e3
--- /dev/null
+++ b/archconf2020/artwork/by-sa.svg
@@ -0,0 +1,74 @@
+
+
+
\ No newline at end of file
diff --git a/archconf2020/artwork/intro.svg b/archconf2020/artwork/intro.svg
new file mode 100644
index 0000000..683b104
--- /dev/null
+++ b/archconf2020/artwork/intro.svg
@@ -0,0 +1,306 @@
+
+
diff --git a/archconf2020/artwork/outro.svg b/archconf2020/artwork/outro.svg
new file mode 100644
index 0000000..1f0c0e7
--- /dev/null
+++ b/archconf2020/artwork/outro.svg
@@ -0,0 +1,9986 @@
+
+
diff --git a/archconf2020/artwork/pause.svg b/archconf2020/artwork/pause.svg
new file mode 100644
index 0000000..66fb5c3
--- /dev/null
+++ b/archconf2020/artwork/pause.svg
@@ -0,0 +1,344 @@
+
+
diff --git a/froscon2020/__init__.py b/froscon2020/__init__.py
new file mode 100644
index 0000000..99787cf
--- /dev/null
+++ b/froscon2020/__init__.py
@@ -0,0 +1,167 @@
+#!/usr/bin/python3
+
+import subprocess
+import os.path
+from renderlib import *
+from easing import *
+import svg.path
+
+# URL to Schedule-XML
+scheduleUrl = 'https://programm.froscon.de/2020/schedule.xml'
+
+# For (really) too long titles
+titlemap = {
+ #
+}
+
+
+def introFrames(args):
+ xml = etree.parse('froscon2020/artwork/intro.svg').getroot()
+ pathstr = xml.find(".//*[@id='animatePath']").get('d')
+ frog = xml.find(".//*[@id='animatePath']").get('d')
+ path = svg.path.parse_path(pathstr)
+
+ init = path.point(0)
+
+ frames = 3*fps
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ ('animatePath', 'style', 'opacity', 0),
+ ('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag+120)),
+ ('title', 'style', 'opacity', 0),
+ ('names', 'style', 'opacity', 0),
+ )
+
+ frames = int(0.5*fps)
+ for i in range(0, frames):
+ yield (
+ ('animatePath', 'style', 'opacity', 0),
+ ('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag+120)),
+ ('title', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
+ ('names', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
+ )
+
+ frames = int(3.0*fps)
+ for i in range(0, frames):
+ yield (
+ ('animatePath', 'style', 'opacity', 0),
+ ('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag+120)),
+ )
+
+def outroFrames(args):
+ xml = etree.parse('froscon2019/artwork/outro.svg').getroot()
+ pathstr = xml.find(".//*[@id='animatePath']").get('d')
+ frog = xml.find(".//*[@id='animatePath']").get('d')
+ path = svg.path.parse_path(pathstr)
+
+ init = path.point(0)
+
+ frames = int(4*fps)
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ )
+
+def pauseFrames(args):
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 1),
+ ('text2', 'style', 'opacity', 0),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ ('text2', 'style', 'opacity', 0),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
+ )
+
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', 1),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
+ ('text2', 'style', 'opacity', 0),
+ )
+
+def debug():
+ render('intro.svg',
+ '../intro.ts',
+ introFrames,
+ {
+ '$id': 2404,
+ '$title': 'Linux Container im High Performance Computing',
+ '$subtitle': 'Vom Wal zur Singularität und weiter',
+ '$personnames': 'Holger Gantikow'
+ }
+ )
+
+# render('outro.svg',
+# '../outro.ts',
+# outroFrames
+# )
+
+# render('pause.svg',
+# '../pause.ts',
+# pauseFrames
+# )
+
+
+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 ('HS 1/2', 'HS3', 'HS4', 'HS5', 'HS6', 'HS7', 'HS8', 'C116', 'Workshop'):
+ print("skipping room %s (%s)" % (event['room'], event['title']))
+ continue
+
+ if (event['id'] in idlist or not idlist) and not 'intro' in skiplist:
+ # generate a task description and put them into the queue
+ queue.put(Rendertask(
+ infile = 'intro.svg',
+ outfile = str(event['id'])+".ts",
+ sequence = introFrames,
+ parameters = {
+ '$id': event['id'],
+ '$title': event['title'],
+# '$subtitle': event['subtitle'],
+ '$personnames': event['personnames']
+ }
+ ))
+
+ if not 'outro' in skiplist:
+ # place a task for the outro into the queue
+ queue.put(Rendertask(
+ infile = 'outro.svg',
+ outfile = 'outro.ts',
+ sequence = outroFrames
+ ))
+
+ if not 'pause' in skiplist:
+ # place the pause-sequence into the queue
+ queue.put(Rendertask(
+ infile = 'pause.svg',
+ outfile = 'pause.ts',
+ sequence = pauseFrames
+ ))
diff --git a/froscon2020/artwork/background.svg b/froscon2020/artwork/background.svg
new file mode 100644
index 0000000..1a38199
--- /dev/null
+++ b/froscon2020/artwork/background.svg
@@ -0,0 +1,166 @@
+
+
+
+
diff --git a/froscon2020/artwork/intro.svg b/froscon2020/artwork/intro.svg
new file mode 100644
index 0000000..80cbf6e
--- /dev/null
+++ b/froscon2020/artwork/intro.svg
@@ -0,0 +1,607 @@
+
+
diff --git a/froscon2020/artwork/logo-bw.svg b/froscon2020/artwork/logo-bw.svg
new file mode 100644
index 0000000..f30babb
--- /dev/null
+++ b/froscon2020/artwork/logo-bw.svg
@@ -0,0 +1,208 @@
+
+
+
+
diff --git a/froscon2020/artwork/logo.svg b/froscon2020/artwork/logo.svg
new file mode 100644
index 0000000..a57e99c
--- /dev/null
+++ b/froscon2020/artwork/logo.svg
@@ -0,0 +1,222 @@
+
+
+
+
diff --git a/froscon2020/artwork/outro.svg b/froscon2020/artwork/outro.svg
new file mode 100644
index 0000000..546ef45
--- /dev/null
+++ b/froscon2020/artwork/outro.svg
@@ -0,0 +1,466 @@
+
+
diff --git a/froscon2020/artwork/overlay.svg b/froscon2020/artwork/overlay.svg
new file mode 100644
index 0000000..60dc691
--- /dev/null
+++ b/froscon2020/artwork/overlay.svg
@@ -0,0 +1,183 @@
+
+
+
+
diff --git a/froscon2020/artwork/pause.svg b/froscon2020/artwork/pause.svg
new file mode 100644
index 0000000..de1efc2
--- /dev/null
+++ b/froscon2020/artwork/pause.svg
@@ -0,0 +1,478 @@
+
+
+
+