diff --git a/froscon2022/__init__.py b/froscon2022/__init__.py
new file mode 100644
index 0000000..036621b
--- /dev/null
+++ b/froscon2022/__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/2022/schedule.xml'
+
+# For (really) too long titles
+titlemap = {
+ #
+}
+
+
+def introFrames(args):
+ xml = etree.parse('froscon2022/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('froscon2022/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', 'HS7', 'HS8'):
+ 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/froscon2022/artwork/background.svg b/froscon2022/artwork/background.svg
new file mode 100644
index 0000000..1a38199
--- /dev/null
+++ b/froscon2022/artwork/background.svg
@@ -0,0 +1,166 @@
+
+
+
+
diff --git a/froscon2022/artwork/intro.svg b/froscon2022/artwork/intro.svg
new file mode 100644
index 0000000..7ea12e0
--- /dev/null
+++ b/froscon2022/artwork/intro.svg
@@ -0,0 +1,1210 @@
+
+
diff --git a/froscon2022/artwork/intro.svg.close b/froscon2022/artwork/intro.svg.close
new file mode 100644
index 0000000..b4124fa
--- /dev/null
+++ b/froscon2022/artwork/intro.svg.close
@@ -0,0 +1,1086 @@
+
+
diff --git a/froscon2022/artwork/logo-bw.svg b/froscon2022/artwork/logo-bw.svg
new file mode 100644
index 0000000..f30babb
--- /dev/null
+++ b/froscon2022/artwork/logo-bw.svg
@@ -0,0 +1,208 @@
+
+
+
+
diff --git a/froscon2022/artwork/logo.svg b/froscon2022/artwork/logo.svg
new file mode 100644
index 0000000..a57e99c
--- /dev/null
+++ b/froscon2022/artwork/logo.svg
@@ -0,0 +1,222 @@
+
+
+
+
diff --git a/froscon2022/artwork/outro.svg b/froscon2022/artwork/outro.svg
new file mode 100644
index 0000000..d794053
--- /dev/null
+++ b/froscon2022/artwork/outro.svg
@@ -0,0 +1,551 @@
+
+
diff --git a/froscon2022/artwork/overlay.svg b/froscon2022/artwork/overlay.svg
new file mode 100644
index 0000000..60dc691
--- /dev/null
+++ b/froscon2022/artwork/overlay.svg
@@ -0,0 +1,183 @@
+
+
+
+
diff --git a/froscon2022/artwork/pause.svg b/froscon2022/artwork/pause.svg
new file mode 100644
index 0000000..de1efc2
--- /dev/null
+++ b/froscon2022/artwork/pause.svg
@@ -0,0 +1,478 @@
+
+
+
+