add the event's date

This commit is contained in:
MaZderMind 2014-08-17 18:17:54 +02:00
parent f9ead1e628
commit 224cd199a2
3 changed files with 45 additions and 8 deletions

View file

@ -20,6 +20,7 @@ def introFrames():
p = path.point(i / frames) - init
yield (
('animatePath', 'style', 'opacity', 0),
('date', 'style', 'opacity', 0),
)
frames = 3*fps
@ -29,7 +30,18 @@ def introFrames():
('frog', 'attr', 'transform', 'translate(%.4f, %.4f)' % (p.real, p.imag)),
)
frames = 2*fps
frames = int(0.5*fps)
for i in range(0, frames):
yield tuple()
frames = 1*fps
for i in range(0, frames):
yield (
('url', 'style', 'opacity', easeOutQuad(i, 1, -1, frames)),
('date', 'style', 'opacity', easeOutQuad(i, 0, 1, frames)),
)
frames = int(1.5*fps)
for i in range(0, frames):
yield tuple()

View file

@ -202,8 +202,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="448.45222"
inkscape:cy="142.89604"
inkscape:cx="497.96939"
inkscape:cy="192.20725"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -420,7 +420,7 @@
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<flowRoot
xml:space="preserve"
id="flowRoot3815"
id="url"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
transform="translate(-258,510.36218)"><flowRegion
id="flowRegion3817"><rect
@ -431,5 +431,18 @@
y="312.37131"
style="text-align:end;text-anchor:end" /></flowRegion><flowPara
id="flowPara3821"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;writing-mode:lr-tb;text-anchor:end;fill:#ffffff;fill-opacity:1;font-family:Sans;-inkscape-font-specification:Sans">http://programm.froscon.de/2014/events/$id.html</flowPara></flowRoot> </g>
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;writing-mode:lr-tb;text-anchor:end;fill:#ffffff;fill-opacity:1;font-family:Sans;-inkscape-font-specification:Sans">http://programm.froscon.de/2014/events/$id.html</flowPara></flowRoot> <flowRoot
xml:space="preserve"
id="date"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;opacity:0.25"
transform="translate(-257.99975,510.36255)"><flowRegion
id="flowRegion3817-9"><rect
id="rect3819-3"
width="486.27167"
height="22.430193"
x="790.53937"
y="312.37131"
style="text-align:end;text-anchor:end" /></flowRegion><flowPara
id="flowPara3821-6"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;writing-mode:lr-tb;text-anchor:end;fill:#ffffff;fill-opacity:1;font-family:Sans;-inkscape-font-specification:Sans">23.- 24. August 2014</flowPara></flowRoot> </g>
</svg>

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View file

@ -201,9 +201,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4142135"
inkscape:cx="766.15295"
inkscape:cy="456.74489"
inkscape:zoom="0.49999998"
inkscape:cx="239.195"
inkscape:cy="596.52111"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@ -537,5 +537,17 @@
id="animatePath"
d="m 402.12503,764.2372 c 0,0 46.88241,-220.97993 130.94607,-212.13112 76,8 126.05393,115.62866 126.05393,115.62866 0,0 91.8771,-159.56589 166,-129.12256 56,23 109.75365,129.08389 109.75365,129.08389 0,0 64.21158,-135.08068 125.66052,-106.06307 36,17.00002 60.0503,97.61646 60.0503,97.61646"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
xml:space="preserve"
style="font-size:44.7326355px;font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Open Sans;-inkscape-font-specification:Open Sans Light"
x="305.25974"
y="988.60712"
id="text3062"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3064"
x="305.25974"
y="988.60712"
style="font-size:44.7326355px;font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;font-family:Open Sans;-inkscape-font-specification:Open Sans Light">23.- 24. August 2014</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB