diff --git a/fossgis16/__init__.py b/fossgis16/__init__.py
new file mode 100644
index 0000000..aed9181
--- /dev/null
+++ b/fossgis16/__init__.py
@@ -0,0 +1,176 @@
+#!/usr/bin/python3
+
+import subprocess
+from renderlib import *
+from easing import *
+
+# URL to Schedule-XML
+scheduleUrl = 'http://frab.fossgis-konferenz.de/de/2016/public/schedule.xml'
+
+# For (really) too long titles
+titlemap = {
+ #708: "Neue WEB-Anwendungen des LGRB Baden-Württemberg im Überblick"
+}
+
+
+def outroFrames(params):
+ # 5 Sekunden
+
+ # 2 Sekunden Fadein Text
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames) ),
+ ('license', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunde Fadein Lizenz-Logo
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', 1),
+ ('license', 'style', 'opacity', "%.4f" % (float(i)/frames))
+ )
+
+ # 1 Sekunde stehen bleiben
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('banderole', 'style', 'opacity', 1),
+ ('license', 'style', 'opacity', 1)
+ )
+
+def introFrames(params):
+ # 7 Sekunden
+
+ # 2 Sekunden Text 1
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('url', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('text1', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames)),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 1 Sekunde Fadeout Text 1
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', "%.4f" % (1-(float(i)/frames))),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Text 2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames))
+ )
+
+ # 2 Sekunden stehen bleiben
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('box', 'style', 'opacity', 1),
+ ('url', 'style', 'opacity', 1),
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', 1)
+ )
+
+def pauseFrames(params):
+ # 12 Sekunden
+
+ # 2 Sekunden Text1 stehen
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 1),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Fadeout Text1
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames))),
+ ('text2', 'style', 'opacity', 0)
+ )
+
+ # 2 Sekunden Fadein Text2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % easeOutCubic(i, 0, 1, frames))
+ )
+
+ # 2 Sekunden Text2 stehen
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', 1)
+ )
+
+ # 2 Sekunden Fadeout Text2
+ frames = 2*fps
+ for i in range(0, frames):
+ yield (
+ ('text1', 'style', 'opacity', 0),
+ ('text2', 'style', 'opacity', "%.4f" % (1-easeOutCubic(i, 0, 1, frames)))
+ )
+
+ # 2 Sekunden 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)
+ )
+
+def debug():
+ render(
+ 'intro.svg',
+ '../intro.ts',
+ introFrames,
+ {
+ '$id': 904,
+ '$title': 'Was ist Open Source, wie funktioniert das?',
+ '$subtitle': 'Die Organisation der Open Geo- und GIS-Welt. Worauf man achten sollte.',
+ '$personnames': 'Arnulf Christl, Astrid Emde, Dominik Helle, Till Adams'
+ }
+ )
+
+ render(
+ 'outro.svg',
+ '../outro.ts',
+ outroFrames
+ )
+
+ render('pause.svg',
+ '../pause.ts',
+ pauseFrames
+ )
+
+def tasks(queue):
+ # iterate over all events extracted from the schedule xml-export
+ for event in events(scheduleUrl, titlemap):
+
+ # 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']
+ }
+ ))
diff --git a/fossgis16/artwork/P1000778-gaussblur-75.JPG b/fossgis16/artwork/P1000778-gaussblur-75.JPG
new file mode 100644
index 0000000..e3422b2
Binary files /dev/null and b/fossgis16/artwork/P1000778-gaussblur-75.JPG differ
diff --git a/fossgis16/artwork/P1000778.JPG b/fossgis16/artwork/P1000778.JPG
new file mode 100644
index 0000000..52ae911
Binary files /dev/null and b/fossgis16/artwork/P1000778.JPG differ
diff --git a/fossgis16/artwork/by-sa.svg b/fossgis16/artwork/by-sa.svg
new file mode 100644
index 0000000..f850297
--- /dev/null
+++ b/fossgis16/artwork/by-sa.svg
@@ -0,0 +1,199 @@
+
+
+
diff --git a/fossgis16/artwork/intro.svg b/fossgis16/artwork/intro.svg
new file mode 100644
index 0000000..a6b6958
--- /dev/null
+++ b/fossgis16/artwork/intro.svg
@@ -0,0 +1,284 @@
+
+
+
+
diff --git a/fossgis16/artwork/outro.svg b/fossgis16/artwork/outro.svg
new file mode 100644
index 0000000..fdcdbc6
--- /dev/null
+++ b/fossgis16/artwork/outro.svg
@@ -0,0 +1,241 @@
+
+
+
+
diff --git a/fossgis16/artwork/overlay.svg b/fossgis16/artwork/overlay.svg
new file mode 100644
index 0000000..eba611d
--- /dev/null
+++ b/fossgis16/artwork/overlay.svg
@@ -0,0 +1,65 @@
+
+
+
+
diff --git a/fossgis16/artwork/pause.svg b/fossgis16/artwork/pause.svg
new file mode 100644
index 0000000..c02ec10
--- /dev/null
+++ b/fossgis16/artwork/pause.svg
@@ -0,0 +1,248 @@
+
+
+
+