diff --git a/froscon8/__init__.py b/froscon8/__init__.py
new file mode 100644
index 0000000..3931037
--- /dev/null
+++ b/froscon8/__init__.py
@@ -0,0 +1,201 @@
+#!/usr/bin/python3
+
+import svg.path
+from lxml import etree
+from renderlib import *
+
+# URL to Schedule-XML
+scheduleUrl = 'http://programm.froscon.de/2014/schedule.xml'
+
+def introFrames():
+ xml = etree.parse('froscon8/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 = int(0.5*fps)
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ ('animatePath', 'style', 'opacity', 0),
+ )
+
+ frames = 3*fps
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ ('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag)),
+ )
+
+ frames = 2*fps
+ for i in range(0, frames):
+ yield tuple()
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('bar', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ ('title', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ )
+
+ frames = int(0.5*fps)+1
+ for i in range(0, frames):
+ yield (
+ ('bar', 'style', 'opacity', 0),
+ ('title', 'style', 'opacity', 0),
+ )
+
+def outroFrames():
+ xml = etree.parse('froscon8/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(0.5*fps)
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ ('animatePath', 'style', 'opacity', 0),
+ ('license', 'style', 'opacity', 0),
+ )
+
+ frames = 3*fps
+ for i in range(0, frames):
+ p = path.point(i / frames) - init
+ yield (
+ ('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag)),
+ )
+
+ frames = int(0.5*fps)+1
+ for i in range(0, frames):
+ yield tuple()
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('logo', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('logo', 'style', 'opacity', 0),
+ ('license', 'style', 'opacity', easeLinear(i, 0, 1, frames)),
+ )
+
+ frames = 2*fps
+ for i in range(0, frames):
+ yield tuple()
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('license', 'style', 'opacity', easeLinear(i, 1, -1, frames)),
+ )
+
+ frames = 1*fps
+ for i in range(0, frames):
+ yield (
+ ('license', 'style', 'opacity', 0),
+ )
+
+def pauseFrames():
+ 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.dv',
+ # introFrames,
+ # {
+ # '$id': 1302,
+ # '$title': 'VlizedLab - Eine Open Source-Virtualisierungslösung für PC-Räume',
+ # '$subtitle': 'IT Automatisierung und zentrales Management mit SALT',
+ # '$personnames': 'Thorsten Kramm'
+ # }
+ # )
+
+ # render('outro.svg',
+ # '../outro.dv',
+ # outroFrames
+ # )
+
+ render('pause.svg',
+ '../pause.dv',
+ pauseFrames
+ )
+
+
+def tasks(queue):
+ # iterate over all events extracted from the schedule xml-export
+ for event in events(scheduleUrl):
+
+ # generate a task description and put them into the queue
+ queue.put(Rendertask(
+ infile = 'intro.svg',
+ outfile = str(event['id'])+".dv",
+ sequence = introFrames,
+ parameters = {
+ '$id': event['id'],
+ '$title': event['title'],
+ '$subtitle': event['subtitle'],
+ '$personnames': event['personnames']
+ }
+ ))
+
+ # place a task for the outro into the queue
+ queue.put(Rendertask(
+ infile = 'outro.svg',
+ outfile = 'outro.dv',
+ sequence = outroFrames
+ ))
+
+ # place the pause-sequence into the queue
+ queue.put(Rendertask(
+ infile = 'pause.svg',
+ outfile = 'pause.dv',
+ sequence = pauseFrames
+ ))
diff --git a/froscon8/artwork/by-sa.svg b/froscon8/artwork/by-sa.svg
new file mode 100644
index 0000000..f850297
--- /dev/null
+++ b/froscon8/artwork/by-sa.svg
@@ -0,0 +1,199 @@
+
+
+
diff --git a/froscon8/artwork/intro.svg b/froscon8/artwork/intro.svg
new file mode 100644
index 0000000..c286b9b
--- /dev/null
+++ b/froscon8/artwork/intro.svg
@@ -0,0 +1,435 @@
+
+
+
+
diff --git a/froscon8/artwork/logo-bw.svg b/froscon8/artwork/logo-bw.svg
new file mode 100644
index 0000000..f30babb
--- /dev/null
+++ b/froscon8/artwork/logo-bw.svg
@@ -0,0 +1,208 @@
+
+
+
+
diff --git a/froscon8/artwork/logo.svg b/froscon8/artwork/logo.svg
new file mode 100644
index 0000000..a57e99c
--- /dev/null
+++ b/froscon8/artwork/logo.svg
@@ -0,0 +1,222 @@
+
+
+
+
diff --git a/froscon8/artwork/outro.svg b/froscon8/artwork/outro.svg
new file mode 100644
index 0000000..a40b311
--- /dev/null
+++ b/froscon8/artwork/outro.svg
@@ -0,0 +1,541 @@
+
+
+
+
diff --git a/froscon8/artwork/pause.svg b/froscon8/artwork/pause.svg
new file mode 100644
index 0000000..5815527
--- /dev/null
+++ b/froscon8/artwork/pause.svg
@@ -0,0 +1,479 @@
+
+
+
+