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 * from renderlib import *
# URL to Schedule-XML
scheduleUrl = 'http://annaberg6.de/stuff/camp99/schedule.xml'
def introFrames(p): def introFrames(p):
move=50 move=50
@ -67,8 +71,22 @@ def debug():
outroFrames outroFrames
) )
def tasks(queue): def tasks(queue, args):
raise NotImplementedError('call with --debug to render your intro/outro') # 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): def ticket(ticket):

View file

@ -78,14 +78,14 @@
y="476.36218" y="476.36218"
x="222" x="222"
id="image3818" 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" height="170"
width="580" /> width="580" />
<image <image
y="476.36218" y="476.36218"
x="222" x="222"
id="rocket" 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" height="170"
width="580" width="580"
style="opacity:1" style="opacity:1"
@ -96,7 +96,7 @@
<image <image
width="150" width="150"
height="108" 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" id="image3807"
x="238.20825" x="238.20825"
y="889.34686" /> y="889.34686" />
@ -127,6 +127,6 @@
id="tspan3781" id="tspan3781"
x="381.5" x="381.5"
y="840.86218" 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> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -78,14 +78,14 @@
y="476.36218" y="476.36218"
x="222" x="222"
id="image3818" 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" height="170"
width="580" /> width="580" />
<image <image
y="476.36218" y="476.36218"
x="222" x="222"
id="rocket" 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" height="170"
width="580" width="580"
style="opacity:1" style="opacity:1"
@ -102,11 +102,11 @@
id="tspan3781" id="tspan3781"
x="318.5" x="318.5"
y="826.86218" 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 <image
width="315.27777" width="315.27777"
height="227" 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" id="knoten"
x="354.36111" x="354.36111"
y="818.36218" y="818.36218"

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB