diff --git a/fiffkon21/__init__.py b/fiffkon21/__init__.py new file mode 100644 index 0000000..60efe52 --- /dev/null +++ b/fiffkon21/__init__.py @@ -0,0 +1,124 @@ +#!/usr/bin/python3 + +from renderlib import * +from easing import * +import math + +# URL to Schedule-XML +scheduleUrl = 'https://pretalx.c3voc.de/fiffkon2021/schedule/export/schedule.xml' + +# For (really) too long titles +titlemap = { + #708: "Neue WEB-Anwendungen des LGRB Baden-Württemberg im Überblick" +} + + +def outroFrames(p): + frames = 2*fps + for i in range(0, frames): + yield ( + ('logo', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)), + ('plate', 'style', 'opacity', 0), + ) + + frames = 1*fps + for i in range(0, frames): + yield ( + ('logo', 'style', 'opacity', 1), + ('plate', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)), + ) + + frames = 2*fps + for i in range(0, frames): + yield ( + ('logo', 'style', 'opacity', 1), + ('plate', 'style', 'opacity', 1), + ) + +def introFrames(p): + frames = math.floor(1.5*fps) + for i in range(0, frames): + yield ( + ('header', 'attr', 'y', 659), + ('text', 'style', 'opacity', 0), + ) + + frames = 1*fps + for i in range(0, frames): + yield ( + ('text', 'style', 'opacity', "%.4f" % easeInCubic(i, 0, 1, frames)), + ) + + frames = math.ceil(3.5*fps) + for i in range(0, frames): + yield ( + ('text', 'style', 'opacity', 1), + ) + +def pauseFrames(p): + pass + + +def debug(): + render( + 'intro.svg', + '../intro.ts', + introFrames, + { + '$id': 6526, + '$title': 'Besser steuern durch Daten? - Zur Performativität soziotechnischer Systeme und der Quantifizierung der sozialen Welt', + '$subtitle': '', + '$personnames': 'Judith Hartstein und Anne K. Krüger' + } + ) + + #render( + # 'outro.svg', + # '../outro.ts', + # outroFrames + #) + + # render('pause.svg', + # '../pause.ts', + # pauseFrames + # ) + +def tasks(queue, params, idlist, skiplist): + # iterate over all events extracted from the schedule xml-export + for event in 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 + if int(event['id']) not in skiplist: + 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'] + } + )) + + # place a task for the outro into the queue + if not "out" in skiplist: + queue.put(Rendertask( + infile = 'outro.svg', + outfile = 'outro.ts', + sequence = outroFrames + )) + + # # place the pause-sequence into the queue + # queue.put(Rendertask( + # infile = 'pause.svg', + # outfile = 'pause.ts', + # sequence = pauseFrames + # )) diff --git a/fiffkon21/artwork/background.png b/fiffkon21/artwork/background.png new file mode 100644 index 0000000..c7167fb Binary files /dev/null and b/fiffkon21/artwork/background.png differ diff --git a/fiffkon21/artwork/background_full.jpg b/fiffkon21/artwork/background_full.jpg new file mode 100644 index 0000000..6f787a4 Binary files /dev/null and b/fiffkon21/artwork/background_full.jpg differ diff --git a/fiffkon21/artwork/background_full_dark.jpg b/fiffkon21/artwork/background_full_dark.jpg new file mode 100644 index 0000000..8ba58a2 Binary files /dev/null and b/fiffkon21/artwork/background_full_dark.jpg differ diff --git a/fiffkon21/artwork/by-sa.svg b/fiffkon21/artwork/by-sa.svg new file mode 100644 index 0000000..f850297 --- /dev/null +++ b/fiffkon21/artwork/by-sa.svg @@ -0,0 +1,199 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fiffkon21/artwork/fiffkon_bg.png b/fiffkon21/artwork/fiffkon_bg.png new file mode 100644 index 0000000..e535636 Binary files /dev/null and b/fiffkon21/artwork/fiffkon_bg.png differ diff --git a/fiffkon21/artwork/intro.svg b/fiffkon21/artwork/intro.svg new file mode 100644 index 0000000..4cc8f91 --- /dev/null +++ b/fiffkon21/artwork/intro.svg @@ -0,0 +1,20216 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + +   + $title$subtitle$personnames + #FIfFKon21 + 12. bis 14. November 2021München, Schulzentrum-Nordhaide + + + + Selbsbestimmung in digitalen Räumen + + diff --git a/fiffkon21/artwork/outro.svg b/fiffkon21/artwork/outro.svg new file mode 100644 index 0000000..5c78765 --- /dev/null +++ b/fiffkon21/artwork/outro.svg @@ -0,0 +1,22285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + +   + #FIfFKon21 + 12. bis 14. November 2021München, Schulzentrum-Nordhaide + Selbsbestimmung in digitalen Räumen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2021.fiffkon.de + Eine Konferenz des FIfF e.V. + Forum InformatikerInnen für Frieden + und gesellschaftliche Verantwortung (FIfF e. V.) + +