cr pause-video

This commit is contained in:
MaZderMind 2014-08-28 23:09:46 +02:00
parent 16525d5032
commit ce95b86892
2 changed files with 262 additions and 0 deletions

View file

@ -64,8 +64,22 @@ def introFrames():
('text', 'style', 'opacity', 1), ('text', 'style', 'opacity', 1),
) )
def pauseFrames():
# 8 Sekunden im kresi drehen
frames = int(8*fps)
for i in range(0, frames):
yield (
('logo', 'attr', 'transform', 'translate(%.4f, %.4f)' % (math.sin(i / frames * math.pi * 2) * 200, math.cos(i / frames * math.pi * 2) * 180) ),
)
def debug(): def debug():
render(
'pause.svg',
'../pause.dv',
pauseFrames
)
render( render(
'intro.svg', 'intro.svg',
'../intro.dv', '../intro.dv',

248
cre200/artwork/pause.svg Normal file
View file

@ -0,0 +1,248 @@
<?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.4 r9939"
sodipodi:docname="intro.svg">
<defs
id="defs4">
<linearGradient
id="linearGradient3807">
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="0"
id="stop3809" />
<stop
id="stop3815"
offset="0.2"
style="stop-color:#ffffff;stop-opacity:0.78431374;" />
<stop
style="stop-color:#ffffff;stop-opacity:0.78431374;"
offset="1"
id="stop3811" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3807"
id="linearGradient3813"
x1="650"
y1="595.07648"
x2="1230"
y2="595.07648"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.99744172,-74.949237,-22.857439)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3807"
id="linearGradient3819"
x1="575.05078"
y1="570.69666"
x2="1155.0508"
y2="570.69666"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3807-2"
id="linearGradient3819-8"
x1="575.05078"
y1="570.69666"
x2="1155.0508"
y2="570.69666"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect" />
<linearGradient
id="linearGradient3807-2">
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="0"
id="stop3809-5" />
<stop
id="stop3815-1"
offset="0.2"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3811-1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(2.3933139,0,0,1,-1291.5105,359.35582)"
y2="570.69666"
x2="1155.0508"
y1="570.69666"
x1="575.05078"
spreadMethod="reflect"
gradientUnits="userSpaceOnUse"
id="linearGradient4017-1"
xlink:href="#linearGradient3807-2-2"
inkscape:collect="always" />
<linearGradient
id="linearGradient3807-2-2">
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="0"
id="stop3809-5-5" />
<stop
id="stop3815-1-7"
offset="0.2"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3811-1-0" />
</linearGradient>
<linearGradient
y2="570.69666"
x2="1155.0508"
y1="570.69666"
x1="575.05078"
spreadMethod="reflect"
gradientTransform="matrix(2.3933139,0,0,1,-842.013,2.87365)"
gradientUnits="userSpaceOnUse"
id="linearGradient4510"
xlink:href="#linearGradient3807-2-2"
inkscape:collect="always" />
<filter
id="filter4858"
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
width="1.2">
<feFlood
id="feFlood4860"
flood-opacity="0.29666666666666669"
flood-color="rgb(255,255,255)"
result="flood" />
<feComposite
id="feComposite4862"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur4864"
in="composite"
stdDeviation="2"
result="blur" />
<feOffset
id="feOffset4866"
dx="2"
dy="2.2000000000000002"
result="offset" />
<feComposite
id="feComposite4868"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2"
dy="0" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="542.10514"
inkscape:cy="346.17295"
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"
inkscape:snap-global="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="false"
inkscape:snap-to-guides="true">
<sodipodi:guide
orientation="0,1"
position="0,0"
id="guide3017" />
<sodipodi:guide
orientation="0,1"
position="0,576"
id="guide3019" />
<sodipodi:guide
orientation="1,0"
position="0,0"
id="guide3021" />
<sodipodi:guide
orientation="1,0"
position="1024,0"
id="guide3023" />
<sodipodi:guide
orientation="0,1"
position="0,25"
id="guide3025" />
<sodipodi:guide
orientation="0,1"
position="0,547"
id="guide3027" />
<sodipodi:guide
orientation="1,0"
position="32,0"
id="guide3029" />
<sodipodi:guide
orientation="1,0"
position="994,0"
id="guide3031" />
</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="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-476.36218)">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3797"
width="1024"
height="576"
x="0"
y="0"
transform="translate(0,476.36218)" />
<image
sodipodi:absref="/home/peter/AAA-VOC/intro-outro-generator/cre200/artwork/chaosradio-logo-transparent-300.png"
xlink:href="chaosradio-logo-transparent-300.png"
y="666.49255"
x="323.6142"
id="logo"
height="140.99791"
width="364.64975" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.8 KiB