camp1999 *räusper* intros
This commit is contained in:
parent
9402055117
commit
f532ce7a80
6 changed files with 329 additions and 0 deletions
82
camp1999/__init__.py
Normal file
82
camp1999/__init__.py
Normal file
|
@ -0,0 +1,82 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from renderlib import *
|
||||
|
||||
def introFrames(p):
|
||||
move=50
|
||||
|
||||
for t in range(0, 12):
|
||||
yield (
|
||||
('rocket', 'style', 'opacity', "%.4f" % 0),
|
||||
('year', 'style', 'opacity', "%.4f" % 0),
|
||||
('content', 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
|
||||
for t in range(0, 5*fps):
|
||||
yield (
|
||||
('rocket', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 0*fps, t, 0, 1, 3*fps)),
|
||||
('year', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 1*fps, t, 0, 1, 3*fps)),
|
||||
('year', 'attr', 'transform', "translate(%.4f, 0)" % easeDelay(easeOutQuad, 1*fps, t, -move, move, 3*fps)),
|
||||
('content', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 2*fps, t, 0, 1, 3*fps)),
|
||||
)
|
||||
|
||||
for t in range(0, 1*fps):
|
||||
yield (
|
||||
('rocket', 'style', 'opacity', "%.4f" % 1),
|
||||
('year', 'style', 'opacity', "%.4f" % 1),
|
||||
('content', 'style', 'opacity', "%.4f" % 1),
|
||||
)
|
||||
|
||||
for t in range(0, 4*fps):
|
||||
yield (
|
||||
('rocket', 'style', 'opacity', "%.4f" % 1),
|
||||
('year', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 0*fps, t, 1, -1, 3*fps)),
|
||||
('year', 'attr', 'transform', "translate(%.4f, 0)" % easeDelay(easeOutQuad, 0*fps, t, 0, move, 3*fps)),
|
||||
('content', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 1*fps, t, 1, -1, 3*fps)),
|
||||
)
|
||||
|
||||
|
||||
def outroFrames(p):
|
||||
for t in range(0, 4*fps):
|
||||
yield (
|
||||
('text', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 0*fps, t, 1, -1, 3*fps)),
|
||||
('knoten', 'style', 'opacity', "%.4f" % easeDelay(easeLinear, 1*fps, t, 1, -1, 3*fps)),
|
||||
)
|
||||
|
||||
for t in range(0, 1*fps):
|
||||
yield (
|
||||
('text', 'style', 'opacity', "%.4f" % 0),
|
||||
('knoten', 'style', 'opacity', "%.4f" % 0),
|
||||
)
|
||||
|
||||
|
||||
def debug():
|
||||
render(
|
||||
'intro.svg',
|
||||
'../intro.ts',
|
||||
introFrames,
|
||||
parameters={
|
||||
'$title': 'Careerpunks',
|
||||
'$person': 'Dave del Torto'
|
||||
}
|
||||
)
|
||||
|
||||
render(
|
||||
'outro.svg',
|
||||
'../outro.ts',
|
||||
outroFrames
|
||||
)
|
||||
|
||||
def tasks(queue):
|
||||
raise NotImplementedError('call with --debug to render your intro/outro')
|
||||
|
||||
|
||||
def ticket(ticket):
|
||||
return Rendertask(
|
||||
infile = 'intro.svg',
|
||||
sequence = introFrames,
|
||||
parameters = {
|
||||
'$title': ticket.get('Fahrplan.Title'),
|
||||
'$person': ticket.get('Fahrplan.Person_list')
|
||||
}
|
||||
)
|
BIN
camp1999/artwork/chaosknoten.gif
Normal file
BIN
camp1999/artwork/chaosknoten.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 810 B |
132
camp1999/artwork/intro.svg
Normal file
132
camp1999/artwork/intro.svg
Normal file
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="1024"
|
||||
height="576"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="intro.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="418.21502"
|
||||
inkscape:cy="187.97976"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="content"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="993"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true">
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="364,164"
|
||||
id="guide3769" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-476.36218)">
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1"
|
||||
id="rect3785"
|
||||
width="1024"
|
||||
height="576"
|
||||
x="0"
|
||||
y="476.36218" />
|
||||
<rect
|
||||
style="fill:#006600;fill-opacity:1"
|
||||
id="rect2985"
|
||||
width="578"
|
||||
height="576"
|
||||
x="223"
|
||||
y="476.36218" />
|
||||
<image
|
||||
y="476.36218"
|
||||
x="222"
|
||||
id="image3818"
|
||||
xlink:href="file:///home/peter/AAA-VOC/intro-outro-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"
|
||||
height="170"
|
||||
width="580"
|
||||
style="opacity:1"
|
||||
inkscape:label="#image3782" />
|
||||
<g
|
||||
id="content"
|
||||
inkscape:label="#g3771">
|
||||
<image
|
||||
width="150"
|
||||
height="108"
|
||||
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/chaosknoten.gif"
|
||||
id="image3807"
|
||||
x="238.20825"
|
||||
y="889.34686" />
|
||||
<flowRoot
|
||||
transform="translate(182.46447,551.28606)"
|
||||
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:minecra;-inkscape-font-specification:minecra"
|
||||
id="flowRoot2991"
|
||||
xml:space="preserve"><flowRegion
|
||||
id="flowRegion2993"><rect
|
||||
y="335.58371"
|
||||
x="242.53763"
|
||||
height="204.35387"
|
||||
width="384.66608"
|
||||
id="rect2995" /></flowRegion><flowPara
|
||||
style="font-size:24px;fill:#ffffff;fill-opacity:1;font-family:Minecraftia;-inkscape-font-specification:Minecraftia"
|
||||
id="flowPara2997">$person</flowPara><flowPara
|
||||
style="font-size:24px;font-family:Minecraftia;-inkscape-font-specification:Minecraftia"
|
||||
id="flowPara2999">$title</flowPara></flowRoot> </g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:minecra;-inkscape-font-specification:minecra"
|
||||
x="381.5"
|
||||
y="840.86218"
|
||||
id="year"
|
||||
sodipodi:linespacing="125%"
|
||||
inkscape:label="#text3779"><tspan
|
||||
sodipodi:role="line"
|
||||
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>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.4 KiB |
BIN
camp1999/artwork/no-rocket.gif
Normal file
BIN
camp1999/artwork/no-rocket.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
115
camp1999/artwork/outro.svg
Normal file
115
camp1999/artwork/outro.svg
Normal file
|
@ -0,0 +1,115 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="1024"
|
||||
height="576"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
sodipodi:docname="outro.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="269.19345"
|
||||
inkscape:cy="182.09736"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="993"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true">
|
||||
<sodipodi:guide
|
||||
orientation="0,1"
|
||||
position="364,164"
|
||||
id="guide3769" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-476.36218)">
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1"
|
||||
id="rect3785"
|
||||
width="1024"
|
||||
height="576"
|
||||
x="0"
|
||||
y="476.36218" />
|
||||
<rect
|
||||
style="fill:#006600;fill-opacity:1"
|
||||
id="rect2985"
|
||||
width="578"
|
||||
height="576"
|
||||
x="223"
|
||||
y="476.36218" />
|
||||
<image
|
||||
y="476.36218"
|
||||
x="222"
|
||||
id="image3818"
|
||||
xlink:href="file:///home/peter/AAA-VOC/intro-outro-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"
|
||||
height="170"
|
||||
width="580"
|
||||
style="opacity:1"
|
||||
inkscape:label="#image3782" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:minecra;-inkscape-font-specification:minecra"
|
||||
x="318.5"
|
||||
y="826.86218"
|
||||
id="text"
|
||||
sodipodi:linespacing="125%"
|
||||
inkscape:label="#text3779"><tspan
|
||||
sodipodi:role="line"
|
||||
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>
|
||||
<image
|
||||
width="315.27777"
|
||||
height="227"
|
||||
xlink:href="file:///home/peter/AAA-VOC/intro-outro-generator/camp1999/artwork/chaosknoten.gif"
|
||||
id="knoten"
|
||||
x="354.36111"
|
||||
y="818.36218"
|
||||
inkscape:label="#image3807" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.4 KiB |
BIN
camp1999/artwork/rocket.gif
Normal file
BIN
camp1999/artwork/rocket.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
Add table
Reference in a new issue