release version of camp99 intros/outro

This commit is contained in:
atze 2015-05-28 18:13:39 +02:00
parent 38c75bec28
commit 429ad574c1
3 changed files with 28 additions and 10 deletions

View file

@ -2,6 +2,10 @@
from renderlib import *
# URL to Schedule-XML
scheduleUrl = 'http://annaberg6.de/stuff/camp99/schedule.xml'
def introFrames(p):
move=50
@ -67,8 +71,22 @@ def debug():
outroFrames
)
def tasks(queue):
raise NotImplementedError('call with --debug to render your intro/outro')
def tasks(queue, args):
# iterate over all events extracted from the schedule xml-export
for event in events(scheduleUrl):
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'],
'$person': event['personnames']
}
))
def ticket(ticket):

View file

@ -78,14 +78,14 @@
y="476.36218"
x="222"
id="image3818"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/no-rocket.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/no-rocket.gif"
height="170"
width="580" />
<image
y="476.36218"
x="222"
id="rocket"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/rocket.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/rocket.gif"
height="170"
width="580"
style="opacity:1"
@ -96,7 +96,7 @@
<image
width="150"
height="108"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/chaosknoten.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/chaosknoten.gif"
id="image3807"
x="238.20825"
y="889.34686" />
@ -127,6 +127,6 @@
id="tspan3781"
x="381.5"
y="840.86218"
style="font-size:72px;font-style:normal;fill:#ffffff;fill-opacity:1;font-family:Minecraftia;-inkscape-font-specification:Minecraftia">1999!!!</tspan></text>
style="font-size:72px;font-style:normal;fill:#ffffff;fill-opacity:1;font-family:Minecraftia;-inkscape-font-specification:Minecraftia">cccamp_1999</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -78,14 +78,14 @@
y="476.36218"
x="222"
id="image3818"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/no-rocket.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/no-rocket.gif"
height="170"
width="580" />
<image
y="476.36218"
x="222"
id="rocket"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/rocket.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/rocket.gif"
height="170"
width="580"
style="opacity:1"
@ -102,11 +102,11 @@
id="tspan3781"
x="318.5"
y="826.86218"
style="font-size:72px;font-style:normal;fill:#ffffff;fill-opacity:1;font-family:Minecraftia;-inkscape-font-specification:Minecraftia">THE END!!!</tspan></text>
style="font-size:72px;font-style:normal;fill:#ffffff;fill-opacity:1;font-family:Minecraftia;-inkscape-font-specification:Minecraftia">Licensed to the public under CC-BY-SA 3.0</tspan></text>
<image
width="315.27777"
height="227"
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/chaosknoten.gif"
xlink:href="file:///home/git/intro-generator/camp1999/artwork/chaosknoten.gif"
id="knoten"
x="354.36111"
y="818.36218"

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB